Hello,
I have a .vbs file that contains the following 2 lines. If I just double click on the .vbs file, it executes the run.bat file, but when I put this file in CustomActions -> Commit in Visual Studio setup, the setup fails at the end with the following error.
Code:
Set objShell = CreateObject("WScript.Shell")
objShell.Run "run.bat"
This is the error.
There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor.
Any ideas how to solve this?
Thanks.