feat: msi reg QuietUninstallString (#7873)

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2024-04-30 17:42:28 +08:00 committed by GitHub
parent c8b35d5ce1
commit d394aa8a15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -326,6 +326,9 @@ def gen_custom_ARPSYSTEMCOMPONENT_True(args, dist_dir):
lines_new.append(
f'{indent}<RegistryValue Type="expandable" Name="UninstallString" Value="MsiExec.exe /X [ProductCode]" />\n'
)
lines_new.append(
f'{indent}<RegistryValue Type="expandable" Name="QuietUninstallString" Value="MsiExec.exe /qn /X [ProductCode]" />\n'
)
vs = g_version.split(".")
major, minor, build = vs[0], vs[1], vs[2]