TheDude
01-11-2005, 10:31 PM
1. Installed the application as version 1.1.1
2. Make a couple of changes to the application in order to know it was getting re-installed.
3. Changed the Installer Version number; by:
3.1 Right click on the Installer project at the Project Explorer treeview (its Properties Pages gets displayed)
3.2 Click Ok on its properties pages.
3.3 Open the property grid on the right side of the IDE (the installer project has a properties pages and a set of properties as well).
3.4 Change the Version number to 2.1.1 (somewhere in the MSDN an article explains that you should change the version number major or minor index in order to update it on the target machine at deployment time)
3.5 Answered yes the next popup prompt (It is recommended that the product code and package code be changed if you change the version. Do you want to do this).
3.6 Set to True the RemovePreviousVersions property (five or six properties above the Version property)
4. Rebuild the solution.
5. Build the CD
It replaced the previous version (1.1.1) without prompting to do so, it just did it. I didnt get a duplicated application in the Control Panel Add/Remove programs.
2. Make a couple of changes to the application in order to know it was getting re-installed.
3. Changed the Installer Version number; by:
3.1 Right click on the Installer project at the Project Explorer treeview (its Properties Pages gets displayed)
3.2 Click Ok on its properties pages.
3.3 Open the property grid on the right side of the IDE (the installer project has a properties pages and a set of properties as well).
3.4 Change the Version number to 2.1.1 (somewhere in the MSDN an article explains that you should change the version number major or minor index in order to update it on the target machine at deployment time)
3.5 Answered yes the next popup prompt (It is recommended that the product code and package code be changed if you change the version. Do you want to do this).
3.6 Set to True the RemovePreviousVersions property (five or six properties above the Version property)
4. Rebuild the solution.
5. Build the CD
It replaced the previous version (1.1.1) without prompting to do so, it just did it. I didnt get a duplicated application in the Control Panel Add/Remove programs.