summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2020-08-14 00:54:32 +0800
committerruki <[email protected]>2020-08-14 00:54:32 +0800
commit51153c30548ee0c509c1146fe49cb6e372549e64 (patch)
treeaeca96e29631ce9a68b1e26c653a3696b38f5585 /scripts
parent4ebda335327f0cd6b5eea14f076c1d455b8de853 (diff)
fix installer.nsi with slient
Diffstat (limited to 'scripts')
-rw-r--r--scripts/installer.nsi3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/installer.nsi b/scripts/installer.nsi
index 873559961..0555007da 100644
--- a/scripts/installer.nsi
+++ b/scripts/installer.nsi
@@ -101,6 +101,9 @@ ManifestDPIAware true
Quit
${EndSwitch}
+ ; The UAC plugin changes the error level even in the inner process, reset it.
+ ; note fix install exit code 1223 to 0 with slient /S
+ SetErrorLevel 0
SetShellVarContext all
!macroend