removing previous installation on install
I added a new "Project Setup" from setup and deployment. I choose "true" for RemovePreviousVersions. I built the solution and installed my app. I then changed the ProductCode to the UpgradeCode and built the solution again and installed again. but when I went to add/remove programs (in the control panel) I had to versions of my app installed. What do I do so the program will delete previous installations when upgrading?
Re: removing previous installation on install
Re: removing previous installation on install
Which language and setup tool are you using?
Re: removing previous installation on install
I am using vb.net (visual studio 2008) and the deployment is from the VS, used as posted above.
Re: removing previous installation on install
dont change the name of your project !
and make sure your application is named correctly :)
Re: removing previous installation on install
Change the version number in the property of the setup project and RemovePreviousVersions. Then it works fine.
Re: removing previous installation on install
Hey Blacknight,
Did the above work for you?
Gary
Re: removing previous installation on install
nope. it didn't erase the previous version. When I went to the control panel > add/remove programs there were still two versions of my program.