From ccfda4f4a158b19f61b018b944eb86272f427f55 Mon Sep 17 00:00:00 2001 From: Bob Arnson Date: Sat, 25 Jul 2026 22:01:07 -0400 Subject: Add UAC shield for fixed-scope per-machine bundles Fixes https://github.com/wixtoolset/issues/issues/9321 --- src/ext/Bal/stdbas/WixStandardBootstrapperApplication.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/ext/Bal/stdbas/WixStandardBootstrapperApplication.cpp') diff --git a/src/ext/Bal/stdbas/WixStandardBootstrapperApplication.cpp b/src/ext/Bal/stdbas/WixStandardBootstrapperApplication.cpp index e0b03f98..85ff8263 100644 --- a/src/ext/Bal/stdbas/WixStandardBootstrapperApplication.cpp +++ b/src/ext/Bal/stdbas/WixStandardBootstrapperApplication.cpp @@ -3967,8 +3967,6 @@ private: // Enable disable controls per-page. if (m_rgdwPageIds[WIXSTDBA_PAGE_INSTALL] == dwNewPageId) // on the "Install" page, ensure the install button is enabled/disabled correctly. { - ThemeControlElevates(m_pControlInstallButton, (m_Bundle.fPerMachine && !llElevated)); - // If the EULA control exists, show it only if a license URL is provided as well. if (m_pControlEulaHyperlink) { @@ -3982,9 +3980,6 @@ private: } else if (m_rgdwPageIds[WIXSTDBA_PAGE_MODIFY] == dwNewPageId) { - ThemeControlElevates(m_pControlRepairButton, (m_Bundle.fPerMachine && !llElevated)); - ThemeControlElevates(m_pControlUninstallButton, (m_Bundle.fPerMachine && !llElevated)); - ThemeControlEnable(m_pControlRepairButton, !m_fSuppressRepair); } else if (m_rgdwPageIds[WIXSTDBA_PAGE_SUCCESS] == dwNewPageId) // on the "Success" page, check if the restart or launch button should be enabled. -- cgit v1.2.3-55-g6feb