i want to run a batch file hiddenly using custom action thats why i create a vb script ,my batch file name is postgresql.bat
below code are wrriten in vb script file
const WindowStyleStealth = &H20000000
set WSO = createobject("WScript.Shell")
WSO.run "%comspec% /c APPDIR\pgsqlnew\postgresql.bat", WindowStyleStealth, True
attachment shows how i add custom action , when i run this setup i got the error like this "script required for this install to complete cannot be run" (attach a snapshot of error msg)
is i m doing the correct steps to attach custom action or is there any other way to run batch file hiddenly
plz help
FOLLOW US
Get the latest news in Application Packaging