cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Pilgrim

Command Line argument for custom action

My custom action is calling an .exe file and i want to pass a command line argument to this .exe.

/validate [CUSTOMACTIONARGUMENT]
What should be the correct syntax to pass such argument and what is the maximum length of command line argument is acceptable in install shield custom action.
Labels (1)
0 Kudos
1 Reply
Highlighted
Flexera beginner

Re: Command Line argument for custom action

its old thread but someone else may get help from this post:

Passing parameters are same, does not matter its from installshield or Visual studio custom action. Parameters are passed as key/values pairs separated by a forward slash.


/MyPara="[P1]" /MyParam2="[p2]"

Following links explain

http://social.msdn.microsoft.com/forums/en-US/winformssetup/thread/6bd21b93-baa0-4676-8057-d8bddf324...

http://www.codeproject.com/KB/install/command_lines_setups.aspx
0 Kudos