Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Including the .Net redistributable

Deployment

Including the .Net redistributable

by  Zarcom  Posted    (Edited  )
There is a rather ambiguous little problem with deploying a web solution. Often it is desirable to have the .Net Framework installed if it is not already so. Many people may be tempted to just include the dotnetfxredist_x86_enum.msm file. However, this will give you an error saying that the file cannot be used for redistribution and must be excluded.
There are 2 solutions to this.

1. Premade setup.exe
I found a fix for this on the microsoft site. The file giving the error is for looks only basically, so it has to be exluded. I don't know why. The microsoft site had a premade setup.exe that can install the framework first if it doesn't exist. You merely need to change the setup.ini file to point to your msi installer and to the dotnetfx.exe file.

For anyone who is interested, here is the link.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetdep/html/vsredistdeploy.asp

2. Install from setup
The other solution to this is to download the framework and have your installer program run the framework setup before your application installer

Happy Deployment!
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top