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

Complete Uninstall Then Reinstall

Hi,

I m working on a Basic MSI project type and release mode is single exe. My intension is as follows:

1) If older ver. of product is already installed, backup a couple of files
2) uninstall completely
3) install new version of product
4) restore backed up files

my upgrade settings are as attached.

I'm expecting that when I build setup with upper version no, running setup.exe should first uninstall the product and then install the same. However, running setup is having no effect, it doesnt work as expected.

Any help would be greatly appreciated.

thanks,
d2
Labels (1)
0 Kudos
(4) Replies
DebbieL
Level 17

You'll need to add a major upgrade item in the Upgrades view: Right-click the Upgrade Windows Installer Setups node and then click Add Major Upgrade Item. InstallShield adds a major upgrade item. You can configure its settings on the right.

For more information, see the "Updating Applications" section of the help.
0 Kudos
deepeshd
Level 2

Thank you very much for your responses.

Well, I have created new major upgrade entry and tried but i dnt see any difference. see the screenshot.

It it mandatory that product code must be changed?

Can i achieve my requirements (as in my original post) without having to change product code?

pl advise.

thanks
d2
0 Kudos
DebbieL
Level 17

Yes, for a major upgrade, the product code must be changed. This is indicated at the bottom of the Major Upgrade vs. Minor Upgrade vs. Small Update help topic. If you don't change the product code, it's not a major upgrade.

Also please see the Major Upgrades help topic, which has more information.

Debbie Landers
Acresso Software
0 Kudos