Bei uns funktioniert der Aufruf per Powershell so (ohne die ExecutionPolicy vorher zu ändern):
Code: Select all
Call powershell.exe -Version 2 -ExecutionPolicy bypass -File "%APP%/InstallationFiles/Install.ps1"
Code: Select all
Call powershell.exe -Version 2 -ExecutionPolicy bypass -File "%APP%/InstallationFiles/Install.ps1"
Code: Select all
Call "%APP%\UserScript.vbs"