This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Command Line argument for custom action
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 20, 2011
04:18 AM
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.
/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.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 06, 2011
03:21 AM
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-d8bddf324d0b/
http://www.codeproject.com/KB/install/command_lines_setups.aspx
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-d8bddf324d0b/
http://www.codeproject.com/KB/install/command_lines_setups.aspx