Hi,
I am using Installed Shield Professional 11.0.
I added a custom action to execute a batch file. This batch file required some parameters (or command line arguments).
How can I pass command line arguments to this batch file silently?
Thanks
Yogesh
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

Call batch file with parameters in Custom Actions
Started by
yogesh.gupta
, May 03 2012 02:39
1 reply to this topic
Posted 09 May 2012 - 11:00
Say I have a batch fle named build.bat.
I will do something like this:
build.bat release
OR
build.bat debug
Assuming that the build.bat actually compiles some code, I can use the parameters passed(release or debug) to compile code in the desired configuration.
Using LaunchAppandWait function in the Installscript, you can pass the commandline parameters as an argument.
I will do something like this:
build.bat release
OR
build.bat debug
Assuming that the build.bat actually compiles some code, I can use the parameters passed(release or debug) to compile code in the desired configuration.
Using LaunchAppandWait function in the Installscript, you can pass the commandline parameters as an argument.