[wix-users] Execute SqlScript on Patch Uninstall

Ven H venh.123 at gmail.com
Fri Jun 8 04:25:49 PDT 2018


Thanks a lot, Rob. Looks like Custom Action may be required to achieve it.

Regards,
Venkatesh

On Wed, Jun 6, 2018 at 11:35 PM, Rob Mensching via wix-users <
wix-users at lists.wixtoolset.org> wrote:

> 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/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>


More information about the wix-users mailing list