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
- :
- Pass dynamic data to exe as command line param
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
‎May 08, 2008
04:13 PM
Pass dynamic data to exe as command line param
Does anyone know how to do this? I have an exe that will do some file manipulations, and I'd like to pass a command line param (like the SRCINSTALLDIR).
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 08, 2008
05:08 PM
It depends on your project type; for MSI, the command-line arguments portion of your launch-an-EXE custom action can accept a property name in square brackets (such as "[INSTALLDIR]"), and the value will be expanded at run time.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 09, 2008
06:11 AM
RobertDickau wrote:
It depends on your project type; for MSI, the command-line arguments portion of your launch-an-EXE custom action can accept a property name in square brackets (such as "[INSTALLDIR]"), and the value will be expanded at run time.
Why can't help files be as helpful as you? Thank you so much.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 13, 2010
05:35 PM
I agree. I can think of at least 2 occasions where I've wanted to buy you a beer Robert.
As a follow-up question, can you use this same technique for redistributables such as for example, when you need to set the SA password when installing MS SQL Express (etc.)?
As a follow-up question, can you use this same technique for redistributables such as for example, when you need to set the SA password when installing MS SQL Express (etc.)?