cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
guitarweirdo
Level 2

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.)
Labels (1)
0 Kudos
(1) Reply
MSIYER
Level 8

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.
0 Kudos