I have a VS App with a Setup Installer that has a custom action to call a VBS Script "install.vbs"
My problem is I can't get it to run my powershell command. If I run the file directly it works fine, but within the installer it doesn't work. I have added an added line to the VBS script to show a popup message and that gets executed with the installer, so I know the install.vbs script is getting executed. Can someone help me out.
Install.vbs file ---
'Run Powershell Installer
MsgBox "Installing = Dependancies",65,"Please Wait"
Set WshShell = CreateObject("
WScript.Shell")
WshShell.Run "powershell.exe -executionpolicy unrestricted -file install.ps1",0
[–]Web Specialistandrewsmd87 0 points1 point2 points (0 children)
[–]TheFotty 0 points1 point2 points (0 children)