From 5d00d5c45cf391d3f1acb766877e9f7c9cb177aa Mon Sep 17 00:00:00 2001 From: Peter Repukat Date: Sun, 15 Apr 2018 16:05:09 +0200 Subject: [PATCH] Installer: Fix execution policy --- GloSC_install_script.iss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GloSC_install_script.iss b/GloSC_install_script.iss index ab6d687..12e816c 100644 --- a/GloSC_install_script.iss +++ b/GloSC_install_script.iss @@ -68,7 +68,7 @@ Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: [Run] Filename: "{app}\redist\vc_redist_x86.exe"; Parameters: "/quiet /install"; Description: "Installing Redist. packages"; Flags: runascurrentuser; -Filename: "{win}\sysnative\WindowsPowerShell\v1.0\powershell.exe"; Parameters: "&'{app}\redist\Install_Update_ViGEm.ps1'"; Description: "Installing ViGEm Driver..."; Flags: runascurrentuser +Filename: "{win}\sysnative\WindowsPowerShell\v1.0\powershell.exe"; Parameters: "-ExecutionPolicy Unrestricted &'{app}\redist\Install_Update_ViGEm.ps1'"; Description: "Installing ViGEm Driver..."; Flags: runascurrentuser Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: runascurrentuser nowait postinstall skipifsilent