aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.BootstrapperCore.Native
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-02-03 17:09:50 -0600
committerSean Hall <r.sean.hall@gmail.com>2021-02-04 22:16:10 -0600
commitc6c17104b50936432a3fe9ca214ba9a3dfa32780 (patch)
tree7ad23896fd7e1768a5f81ebb4dc2abe99718eadb /src/WixToolset.BootstrapperCore.Native
parentfd8c2b0899bfbce07386af245c04eb21dc01cbdf (diff)
downloadwix-c6c17104b50936432a3fe9ca214ba9a3dfa32780.tar.gz
wix-c6c17104b50936432a3fe9ca214ba9a3dfa32780.tar.bz2
wix-c6c17104b50936432a3fe9ca214ba9a3dfa32780.zip
Automatically uninstall the bundle after Quit if eligible.
For now, the requirements are: * The bundle is installed and * The bundle is per-user or has already elevated and * No non-permanent packages are installed and * No non-permanent packages are cached and * No related bundle would run by default during uninstall and * The bundle didn't Uninstall/Cache/Install/Modify/Repair and * The BA didn't opt out of this behavior
Diffstat (limited to 'src/WixToolset.BootstrapperCore.Native')
-rw-r--r--src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h b/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h
index c0baa958..48bd813d 100644
--- a/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h
+++ b/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h
@@ -221,6 +221,9 @@ enum BOOTSTRAPPER_SHUTDOWN_ACTION
221 // restart the engine which will load the bootstrapper application again. 221 // restart the engine which will load the bootstrapper application again.
222 // Typically used to switch from a native bootstrapper application to a managed one. 222 // Typically used to switch from a native bootstrapper application to a managed one.
223 BOOTSTRAPPER_SHUTDOWN_ACTION_RELOAD_BOOTSTRAPPER, 223 BOOTSTRAPPER_SHUTDOWN_ACTION_RELOAD_BOOTSTRAPPER,
224 // Opts out of the engine behavior of trying to uninstall itself
225 // when no non-permanent packages are installed.
226 BOOTSTRAPPER_SHUTDOWN_ACTION_SKIP_CLEANUP,
224}; 227};
225 228
226enum BURN_MSI_PROPERTY 229enum BURN_MSI_PROPERTY
@@ -470,6 +473,7 @@ struct BA_ONDETECTCOMPLETE_ARGS
470{ 473{
471 DWORD cbSize; 474 DWORD cbSize;
472 HRESULT hrStatus; 475 HRESULT hrStatus;
476 BOOL fEligibleForCleanup;
473}; 477};
474 478
475struct BA_ONDETECTCOMPLETE_RESULTS 479struct BA_ONDETECTCOMPLETE_RESULTS