cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
anand_mck
Level 3

Uninstall earlier version or exit setup with a message during upgrade

I have a MSI project and for few reasons had to change the product name, though the product code, upgrade and everything else remains the same. While installing the higher version, the install gives the upgrade screen, since i have prompted the minor/major upgrade, since we have renamed the product it is not uninstalling the old product. Is there a way we can remove the old product, or prompt the user with a message to uninstall the old product and exit the setup?

-Anand
Labels (1)
0 Kudos
(2) Replies
mshijat
Level 3

you can get rid of this by writing methods in install script(setup.rul) and calling them from the custom actions.
0 Kudos
anand_mck
Level 3

mshijat,

thanks for your reply, do you know before which action should i call it? Also which action triggers the upgrade?
0 Kudos