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
- :
- Setup command line value
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
Oct 08, 2015
09:11 AM
Setup command line value
I am successfully using InstallShield LE in VS 2013 to perform a silent install in ‘SingleImage’ mode. However I wish to set a system environment variable with a value that is determined at (unattended) install time. I can define the environment variable, but I do not know how to pass in a value on the command line and have it set into the environment variable.
Is this possible in LE?
Is it possible in any version?
Is there any way of passing in commandline args (apart from PROPERTY= , but I can't see how to use that)?
Thanks HB
Is this possible in LE?
Is it possible in any version?
Is there any way of passing in commandline args (apart from PROPERTY= , but I can't see how to use that)?
Thanks HB
- Tags:
- setup commandline
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 09, 2015
03:01 PM
You should be able to pass in a property to the MSI as normal and in the Value field put in the name of the property with square brackets around it
i.e. [MYPROP]
i.e. [MYPROP]
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 12, 2015
07:00 AM
kyi wrote:
You should be able to pass in a property to the MSI as normal and in the Value field put in the name of the property with square brackets around it
i.e. [MYPROP]
Is this feature available in LE? There is no reference to the 'Property Manager' in the LE Doc, so I cannot see how to create a property - and doc that I can find refers to 'Behavior and Logic' in the View List. Well ... my View list does not seem to have any mention of 'Behavior and Logic'. As a complete newbie to InstallShield, am I missing something really obvious?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 16, 2015
02:23 PM
If you click on the Value field in the Environment Variable, there should be a brief description on using properties in that field.
When you pass in a public property when running the MSi, the property will get created even if you do not have the property manager view.
When you pass in a public property when running the MSi, the property will get created even if you do not have the property manager view.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 19, 2015
02:13 AM
kyi wrote:
If you click on the Value field in the Environment Variable, there should be a brief description on using properties in that field.
When you pass in a public property when running the MSi, the property will get created even if you do not have the property manager view.
Thanks for the answer - In the end I had figured that out - I had just assumed I had to create an entry into an internal database, as that's what all the doc seemed to be saying.