[wix-users] ExecuteOnInstall and RollbackOnUninstall attributes on SqlScript
venh.123 at gmail.com
Sun Mar 4 00:50:58 PST 2018
Thanks a lot, Nir for the nice explanation. It makes sense. Actually, I
don't want to delete the database on uninstall, rather I want changes done
by the installation to be rolled back during uninstall.
On Sun, Mar 4, 2018 at 1:05 PM, Nir Bar <nir.bar at panel-sw.com> wrote:
> WiX doesn't figure out what changes are made by a script. It just executes
> the scripts when you tell it to.
> RollbackUninstall script will be executed when an uninstall is rolled
> back. That is, when uninstall is cancelled or failed.
> If you want to delete the database on uninstall, add a script to do it and
> schedule it on uninstall.
> Then, if uninstall fails or cancelled after then uninstall script has run,
> the uninstall-rollback will be executed
> *Nir Bar, **Independent WiX Expert. Creator of-*
> *JetBA: WiX **WPF **Bootstrapper User Interface Framework*
> *JetBA++: **WiX Native **Bootstrapper User Interface Framework*
More information about the wix-users