commit 9bd4383a0926ee4c40f425bf336c5cec8324adf5
parent be14d83990cfac6bbdf3b2ad37fce23adc8dd54d
Author: Charlie Chen <56779163+SpecterShell@users.noreply.github.com>
Date: Wed, 14 Feb 2024 12:49:04 +0800
Add additional switches for Inno Setup based installers (#3562)
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/.github/actions/spelling/allow.txt b/.github/actions/spelling/allow.txt
@@ -306,6 +306,8 @@ subcontext
SUBLANG
subresource
subselect
+substr
+SUPPRESSMSGBOXES
SWIPECONTROL
SYMED
symlinktarget
diff --git a/src/AppInstallerCommonCore/Manifest/ManifestCommon.cpp b/src/AppInstallerCommonCore/Manifest/ManifestCommon.cpp
@@ -973,8 +973,8 @@ namespace AppInstaller::Manifest
case InstallerTypeEnum::Inno:
return
{
- {InstallerSwitchType::Silent, ManifestInstaller::string_t("/VERYSILENT /NORESTART")},
- {InstallerSwitchType::SilentWithProgress, ManifestInstaller::string_t("/SILENT /NORESTART")},
+ {InstallerSwitchType::Silent, ManifestInstaller::string_t("/SP- /VERYSILENT /SUPPRESSMSGBOXES /NORESTART")},
+ {InstallerSwitchType::SilentWithProgress, ManifestInstaller::string_t("/SP- /SILENT /SUPPRESSMSGBOXES /NORESTART")},
{InstallerSwitchType::Log, ManifestInstaller::string_t("/LOG=\"" + std::string(ARG_TOKEN_LOGPATH) + "\"")},
{InstallerSwitchType::InstallLocation, ManifestInstaller::string_t("/DIR=\"" + std::string(ARG_TOKEN_INSTALLPATH) + "\"")}
};