Make Windows restart optional. Fix #115

This commit is contained in:
Federico Terzi 2019-11-14 18:39:25 +01:00
parent bada3cb304
commit d5302b3e00

View File

@ -30,6 +30,7 @@ Compression=lzma
SolidCompression=yes SolidCompression=yes
WizardStyle=modern WizardStyle=modern
ChangesEnvironment=yes ChangesEnvironment=yes
AlwaysRestart = yes
[Languages] [Languages]
Name: "english"; MessagesFile: "compiler:Default.isl" Name: "english"; MessagesFile: "compiler:Default.isl"
@ -62,7 +63,7 @@ end;
[Run] [Run]
Filename: {tmp}\vc_redist.x64.exe; \ Filename: {tmp}\vc_redist.x64.exe; \
Parameters: "/install /quiet"; \ Parameters: "/install /quiet /norestart"; \
StatusMsg: "Installing Visual C++ 2019 Redistributable"; StatusMsg: "Installing Visual C++ 2019 Redistributable";
Filename: "{app}\{#MyAppExeName}"; Parameters: "start"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent Filename: "{app}\{#MyAppExeName}"; Parameters: "start"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent