1) detect the old application and set a property; 2) Use that property in a Launch Condition. Stop the install if present with a "Please remove the-old-product first"; else continue with the install.
Unconditionally removing a product without the user's intervention is not friendly behavior. -- John Merryweather Cooper Jack Henry & Associates, Inc. Build & Install Engineer - jXchange Office: 913-341-3434 x791011 jocoo...@jackhenry.com -----Original Message----- From: Aled Hughes [mailto:trestlemon...@gmail.com] Sent: Tuesday, November 08, 2011 12:29 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] New installer uninstalling an old application As part of my installer I need to uninstall some other application which is being superseded, prior to installing the new app. So into my .wxs file I've added in: <Upgrade Id="{UpgradeCode_of_other_application"/> In the hope that the application will be removed. However, it appears not to work. Looking at the generated MSI with Orca the Upgrade table only contains the upgrade guid for this installer. The FindRelatedProducts action is in the InstallExecuteSequence table. This is with latest Wix 3.6. Any ideas on how I should do this? ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users