From d5302b3e00a6ab4998432b5a9d0296272b1eb20b Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Thu, 14 Nov 2019 18:39:25 +0100 Subject: [PATCH] Make Windows restart optional. Fix #115 --- packager/win/setupscript.iss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packager/win/setupscript.iss b/packager/win/setupscript.iss index 169a4f3..0e24a1b 100644 --- a/packager/win/setupscript.iss +++ b/packager/win/setupscript.iss @@ -30,6 +30,7 @@ Compression=lzma SolidCompression=yes WizardStyle=modern ChangesEnvironment=yes +AlwaysRestart = yes [Languages] Name: "english"; MessagesFile: "compiler:Default.isl" @@ -62,7 +63,7 @@ end; [Run] Filename: {tmp}\vc_redist.x64.exe; \ - Parameters: "/install /quiet"; \ + Parameters: "/install /quiet /norestart"; \ StatusMsg: "Installing Visual C++ 2019 Redistributable"; Filename: "{app}\{#MyAppExeName}"; Parameters: "start"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent