This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: how to uninstall previous version during installation
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 22, 2012
06:54 PM
how to uninstall previous version during installation
I have old version 1.0 installed, when I installed 1.1 version, Installshield 2011 does not remove all the previous files.
I saw version 1.0 & 1.1 in the "Control Panel"/"Add Remove Programs".
How to remove all the previous files and remove version 1.0 under "Control Panel"/"Add Remove Programs" during new installation?
I saw version 1.0 & 1.1 in the "Control Panel"/"Add Remove Programs".
How to remove all the previous files and remove version 1.0 under "Control Panel"/"Add Remove Programs" during new installation?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 24, 2012
06:52 AM
You have to tell msi2 that msi1 is a previous version. How you do that?
Both msi have upgradecode property. Ok in msi2, find upgrade table. Create a row with the msi1 upgrade code, fill in the versionMax field with the same value from msi2 ProductVersion property and attribute something like 1, so it removes the previous version. In the actionproperty enter a caps name that will be the property where IS keeps the code to the previous version.
More info: http://msdn.microsoft.com/en-us/library/windows/desktop/aa372379(v=vs.85).aspx
Both msi have upgradecode property. Ok in msi2, find upgrade table. Create a row with the msi1 upgrade code, fill in the versionMax field with the same value from msi2 ProductVersion property and attribute something like 1, so it removes the previous version. In the actionproperty enter a caps name that will be the property where IS keeps the code to the previous version.
More info: http://msdn.microsoft.com/en-us/library/windows/desktop/aa372379(v=vs.85).aspx