[wix-users] Execute SqlScript on Patch Uninstall

Rob Mensching rob at firegiant.com
Wed Jun 6 11:05:04 PDT 2018


I'd be surprised if the WiX standard SQL custom actions supported patch uninstall: https://msdn.microsoft.com/en-us/library/windows/desktop/aa370739(v=vs.85).aspx

You might want to verify that first.

_____________________________________________________________
 Short replies here. Complete answers over there: http://www.firegiant.com/

-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Ven H via wix-users
Sent: Wednesday, June 6, 2018 10:57 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Ven H <venh.123 at gmail.com>
Subject: [wix-users] Execute SqlScript on Patch Uninstall

Can anyone please tell me how to execute an SqlScript during Patch
Uninstallation? I need to rollback the changes caused by the Patch during
uninstallation of the Patch. I tried a lot with ExecuteOnUninstall,
RollbackOnUninstall etc, but nothing seems to be working. Also, if put this
in a separate component, then the Uninstall option disappears, even though
AllowRemoval=yes. I verified this in the Patch,msp file using Orca, but no
luck yet. Please help.

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


More information about the wix-users mailing list