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
Sean Hall committed
Feb 7, 2023 at 23:23 UTC
dcc7f5a56c61ce51fb240c3a048d37dd5277b0d6
1 file changed
+1
-1
src/ext/Bal/wixiuiba/WixInternalUIBootstrapperApplication.cpp
+1
-1
@@ -166,7 +166,7 @@ public: // IBootstrapperApplication
166
else if (BOOTSTRAPPER_DISPLAY_FULL == m_command.display && !m_fAutomaticRemoval)
167
{
168
// Make sure the MSI UI is shown regardless of the current state of the package.
169
- *pRequestState = BOOTSTRAPPER_REQUEST_STATE_REPAIR;
169
+ *pRequestState = BOOTSTRAPPER_REQUEST_STATE_FORCE_PRESENT;
170
}
171
172
return __super::OnPlanPackageBegin(wzPackageId, state, fCached, installCondition, repairCondition, recommendedState, recommendedCacheType, pRequestState, pRequestedCacheType, pfCancel);