Upgrading a previous installation

kidoo

Member
Joined
Oct 1, 2005
Messages
7
Location
Jamaica
Programming Experience
1-3
Can anyone offer any help or point me to somewhere that can help me with some techniques as to how i go about Upgrading a previous installation without having to uninstall and then reinstall back my application..

Any help would be greatly appreciated. thanks in advance. :)
 
When you create your installer, you need to change the ProductCode property but keep the UpgradeCode property the same. That way the installer knows that it is a newer version of the same product and, assuming that the RemovePreviousVersions property is set to True, it will uninstall previous versions before installing the current version.
 

Attachments

  • UpgradeCode.JPG
    UpgradeCode.JPG
    33.8 KB · Views: 95
Note that your previous version will have to have been installed with the same setup project using the same upgrade code but different product code to the new version.
 
Back
Top