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
- :
- Prerequisite command Line specify system folder
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
‎Mar 14, 2012
11:04 AM
Prerequisite command Line specify system folder
Is there a way to include a reference to a system folder in the Prerequisite Editor? I have an executable that has the following switches.
/Q /T:
I need to specify a system folder for /T, and of course I do not want to hard code this path. I have tried inserting and [WindowsFolder] but neither one seem to resolve correctly.
To be clear I am in the editor on the Application to Run tab, and I am editing the command line for the application text fields.
Thanks for any clarification you can give on this.
/Q /T:
I need to specify a system folder for /T, and of course I do not want to hard code this path. I have tried inserting
To be clear I am in the editor on the Application to Run tab, and I am editing the command line for the application text fields.
Thanks for any clarification you can give on this.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 14, 2012
11:47 AM
I just figured out the answer to my own question. I was thinking that the prerequisite pulls the values from the MSI - which is silly since the MSI is not unpacked yet. The prerequisite is dependent on the Command Line for its values - so it resolves things like system paths using Command line values. Therefore paths like %windir%\System32 will resolve correctly in the command line for /T:%windir%\System32
😮
😮
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 14, 2012
04:02 PM
If you setup the prereq as a Feature Prereq, you can also use properties like:
[SystemFolder]
[SystemFolder]