|
-
June 10th, 2009, 04:35 AM
#1
Deployment setup project exe is not updating while reinstalling setup in VS 2008
Hello,
I have a problem about Visual studio deployment setup projects in .NET of exe is not updating while reinstalling setup in Visual Studio 2008.
I have made a deployment setup in .NET in VS2008 and setup when installed it is display in Add/Remove programs and working fine.
But, now I have to make a setup like when reinstall it it is updates a new version and exe is latest to be updated while running a setup and withour remove setup from control panel it should work.
For that, I have changed a setup properties like RemovePreviousVersions and DetectNewInstalledVersion property to true in UserInterface properties of setup. Version property I increment like 1.0.0 to 1.1.0 every time when I changed the exe.
In setup folder all the dlls and exes are there.
By changing these properties in Apllication Folder(C:\\Program Files\\Setup folder) exe is not updating when install a setup.
Please help regarding this.
-
June 11th, 2009, 07:40 AM
#2
Re: Deployment setup project exe is not updating while reinstalling setup in VS 2008
are you making user that you are building your project before you build the setup project?
-
June 18th, 2009, 09:16 AM
#3
Re: Deployment setup project exe is not updating while reinstalling setup in VS 2008
I found in my Visual Studio 2008 Version 9.0.21022.8 RTM Setup Project
I needed to rebuild rather than just build the Setup Project
Doing this resulted in a MSI/exe that would upgrade my application exe.
With Setup Project Variables
RemovePreviousVersion = True
UpgradeCode remaining consistent
Version updated (manually)
ProductCode updated (when Verion updated)
Application Assembly updated and File Version cleared (taking Assembly version by default)
Best - firstmalone
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|