Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

feat: msi reg QuietUninstallString (#7873)

fufesoud394aa8a15e8
diff --git a/res/msi/preprocess.py b/res/msi/preprocess.py
index d4ac7635d..74a7fb68e 100644
--- a/res/msi/preprocess.py
+++ b/res/msi/preprocess.py
@@ -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]