From dcc7f5a56c61ce51fb240c3a048d37dd5277b0d6 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Tue, 7 Feb 2023 23:23:32 -0600 Subject: Change wixiuiba to request FORCE_PRESENT instead of REPAIR. Sending REINSTALL on the command line doesn't allow the maintenance dialog to be shown. Fixes 7184 --- src/ext/Bal/wixiuiba/WixInternalUIBootstrapperApplication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ext/Bal/wixiuiba/WixInternalUIBootstrapperApplication.cpp b/src/ext/Bal/wixiuiba/WixInternalUIBootstrapperApplication.cpp index 91469489..6ff6559b 100644 --- a/src/ext/Bal/wixiuiba/WixInternalUIBootstrapperApplication.cpp +++ b/src/ext/Bal/wixiuiba/WixInternalUIBootstrapperApplication.cpp @@ -166,7 +166,7 @@ public: // IBootstrapperApplication else if (BOOTSTRAPPER_DISPLAY_FULL == m_command.display && !m_fAutomaticRemoval) { // Make sure the MSI UI is shown regardless of the current state of the package. - *pRequestState = BOOTSTRAPPER_REQUEST_STATE_REPAIR; + *pRequestState = BOOTSTRAPPER_REQUEST_STATE_FORCE_PRESENT; } return __super::OnPlanPackageBegin(wzPackageId, state, fCached, installCondition, repairCondition, recommendedState, recommendedCacheType, pRequestState, pRequestedCacheType, pfCancel); -- cgit v1.2.3-55-g6feb