Advanced Installer Community - Search

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Search found 2 matches

Go to advanced search

by shilpa
Sat Jul 23, 2011 11:11 am
Forum: Common Problems
Topic: wants to run batch file hiddenly
Replies: 3
Views: 3397
 
Jump to post

Re: wants to run batch file hiddenly

Hi Cosmin,
i modified my vb script file as you mention

const WindowStyleStealth = &H20000000
set WSO = createobject("WScript.Shell")
Dim batPath
batPath = Session.Property("CustomActionData")
WSO.run "%comspec% /c batPath", WindowStyleStealth, true

and add [APPDIR]pgsqlnew\postgresql.bat ...
by shilpa
Sat Jul 23, 2011 6:29 am
Forum: Common Problems
Topic: wants to run batch file hiddenly
Replies: 3
Views: 3397
 
Jump to post

wants to run batch file hiddenly

hi,
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 ...

Go to advanced search