PDA

View Full Version : uninstall software before minor install??



mohit.raghav
03-03-2008, 03:00 PM
hey guys how can i accomplish the above i.e. uninstall the old software when doing the minor install

thanks
mohit

nikhilgupta
03-04-2008, 01:09 AM
If you are using Basic MSI and minor upgrade to uninstall the old product, it is not possible. Even if you try to uninstall using custom action to launch msiexec /x [ProductCode] the custom action will simply hang.
If you want to uninstall old product completely, go for major upgrade.

mohit.raghav
03-05-2008, 04:24 PM
If you are using Basic MSI and minor upgrade to uninstall the old product, it is not possible. Even if you try to uninstall using custom action to launch msiexec /x [ProductCode] the custom action will simply hang.
If you want to uninstall old product completely, go for major upgrade.

ok then... next question is how to make my installer as a major upgrade (my installer is always picked up as a minor upgrade :()??? my assemblies are .net...

imoldovan
03-05-2008, 04:53 PM
1. Change the Product Code and keep the Upgrade Code
2. Add a new Major Upgrade entry in Upgrade View and configure to best meet your requirements.

Guys, I'm missing something?

And read this:
http://helpnet.installshield.com/robo/projects/installshield12helplib/MajorMinorSmall.htm