This is what I do (although I might be missing something since it's been a while since I had my head into this). This doesn't force users to manually uninstall, but rather it automatically uninstalls the previous version. So it may not be what you want.
1. Increment the installer version number. 2. Change your product code guid. This causes a major upgrade. Leave the upgrade code guid the same. 3. Add a section similar to this example: --------------------------------- <Upgrade Id="8C4CC510-38A2-4747-95B1-D2C487D77093"> <UpgradeVersion Minimum="0.00.0000" IncludeMinimum="yes" Maximum="1.02.1004" IncludeMaximum="no" OnlyDetect="no" MigrateFeatures="yes" IgnoreRemoveFailure="yes" Property="OLDERVERSIONBEINGUPGRADED" /> </Upgrade> -------------------------------- The Upgrade Id= must match your upgrade code guid. For Maximum=, use the installer version number. I use WiX to install device drivers and I currently use DIFxApp . I usually do a major upgrade because DIFxApp doesn't seem to do minor upgrades correctly. (Actually, I used to do a better job of upgrades when I was using my own code in custom actions instead of DIFxApp.) Jim -----Original Message----- From: jo...@msli.com [mailto:jo...@msli.com] Sent: Friday, July 24, 2009 8:59 AM To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] how to force uninstall before install I am going thought the process of making msi's for new versions of my software. I would like to force the user to uninstall before installing the new version, so I would like some install dialog to stop them there. Where can I find some info on doing this? CONFIDENTIALITY NOTICE: This electronic mail message and any attachment hereto may contain confidential information of Meyer Sound Laboratories, Incorporated and is intended for the personal and confidential use of the designated recipient(s) only. If you are not the intended recipient (or responsible for delivering the message to the intended recipient), you have received this message in error and any review, distribution, or copying of this message or any attachment hereto is prohibited. If you have received this message in error, please promptly notify the sender and permanently delete it from your computer. ---------------------------------------------------------------------------- -- _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users