From 8e8f724d90c6835febb8b5865009746aea73a334 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Tue, 22 Feb 2022 20:23:43 -0600 Subject: Add UnsafeUninstall action. Fixes #6721 --- .../burn/WixToolset.BootstrapperCore.Native/inc/BootstrapperEngine.h | 3 +-- src/api/burn/WixToolset.Mba.Core/IBootstrapperEngine.cs | 5 +++++ 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'src/api') diff --git a/src/api/burn/WixToolset.BootstrapperCore.Native/inc/BootstrapperEngine.h b/src/api/burn/WixToolset.BootstrapperCore.Native/inc/BootstrapperEngine.h index d45c7b2a..cdb01330 100644 --- a/src/api/burn/WixToolset.BootstrapperCore.Native/inc/BootstrapperEngine.h +++ b/src/api/burn/WixToolset.BootstrapperCore.Native/inc/BootstrapperEngine.h @@ -15,13 +15,12 @@ extern "C" { static const HRESULT E_SUSPECTED_AV_INTERFERENCE = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIX, 2000); -// Note that ordering of the enumeration values is important. -// Some code paths use < or > comparisions and simply reording values will break those comparisons. enum BOOTSTRAPPER_ACTION { BOOTSTRAPPER_ACTION_UNKNOWN, BOOTSTRAPPER_ACTION_HELP, BOOTSTRAPPER_ACTION_LAYOUT, + BOOTSTRAPPER_ACTION_UNSAFE_UNINSTALL, BOOTSTRAPPER_ACTION_UNINSTALL, BOOTSTRAPPER_ACTION_CACHE, BOOTSTRAPPER_ACTION_INSTALL, diff --git a/src/api/burn/WixToolset.Mba.Core/IBootstrapperEngine.cs b/src/api/burn/WixToolset.Mba.Core/IBootstrapperEngine.cs index 8ead0919..ebea6c4f 100644 --- a/src/api/burn/WixToolset.Mba.Core/IBootstrapperEngine.cs +++ b/src/api/burn/WixToolset.Mba.Core/IBootstrapperEngine.cs @@ -338,6 +338,11 @@ namespace WixToolset.Mba.Core /// Layout, + /// + /// + /// + UnsafeUninstall, + /// /// /// -- cgit v1.2.3-55-g6feb