[wix-users] WiX Bundle Upgrade Issue [P]

Steven Ogilvie Steven.Ogilvie at titus.com
Wed Apr 19 05:25:17 PDT 2017


Classification: Public

Try this:

<Custom Action="CA_MYCUSTOMACTION" After="SomeEvent">Installed AND NOT WIX_UPGRADE_DETECTED</Custom>

Cheers,

Steve


This message has been marked as Public by Steven Ogilvie on April 19, 2017 8:25:15 AM. Classification provided by TITUS. 





-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Colin Sim
Sent: April 19, 2017 2:28 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: [wix-users] WiX Bundle Upgrade Issue

I have a bundle/bootstrapper that contains a EXE and MSI. There is a custom action in the MSI that performs clean-up of data files that are generated by the application. This custom action is scheduled to run on MSI uninstall only.

I am finding that when the bundle gets upgraded, it performs an uninstall of the old bundle before installing the new one. However, by uninstalling the old bundle the MSI clean-up custom action is run - this is not something I want.

Is there additional information that can be passed to the MSI to let it know it's a bundle upgrade instead of an uninstall? Is there a way to work around the bundle behaviour described?

This e-mail contains IPFX information which may be privileged or confidential and is intended for use only by the individual(s) or entity named above. If you are not the intended recipient, note that disclosing, copying, distributing or using this information is prohibited. If you have received this e-mail in error, please advise immediately to the e-mail address above and permanently delete this message and any attachments. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. We monitor our e-mail system and may record your e-mails. Thank you.

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list