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
- :
- Why is it so difficult to "Replace Existing" package with MSI?
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
Jul 06, 2011
06:48 PM
Why is it so difficult to "Replace Existing" package with MSI?
If I have an old version of my software created with installshield installed and I want to replace the software package with a new version. Why is it so difficult to do? (INNO had a flag "ReplaceExisting"...SIMPLE!!) I have read that to this, I should change the Product Code and the Package Code. When I do this with the ISM project, and then Build it: the resulting MSI does not actually have the Product Code changed to the GUID I created. The Product Code in the resulting MSI is the same as the old product code (how does that happen?). However, the Package Code is different.
So, then I decide to use InstallShield to edit the MSI file itself and change the Product Code in the MSI. But when I install that, I will end up with two installations.
ARG! I have been fighting this all day. Any help would be appreciated. (its harder to create a package than it is to write the actual code.)
So, then I decide to use InstallShield to edit the MSI file itself and change the Product Code in the MSI. But when I install that, I will end up with two installations.
ARG! I have been fighting this all day. Any help would be appreciated. (its harder to create a package than it is to write the actual code.)
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 07, 2011
12:29 AM
Steps to accomplish your objective:
1)Change Product GUID. Generate a new one.
2)Change Package GUID. Your settings are generating a new one as far as I can understand.
3)Change Product version.
4)Go to the Upgrades View in the Media node and configure a Major Upgrade item.
5)Make sure the Upgrade GUID does not change from the previous version.
6)Check Upgrade Table in Direct Editor to see if your changes are proper.
7)Create and test your install.
1)Change Product GUID. Generate a new one.
2)Change Package GUID. Your settings are generating a new one as far as I can understand.
3)Change Product version.
4)Go to the Upgrades View in the Media node and configure a Major Upgrade item.
5)Make sure the Upgrade GUID does not change from the previous version.
6)Check Upgrade Table in Direct Editor to see if your changes are proper.
7)Create and test your install.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)