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
- :
- Re: Commandline option handling
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 31, 2009
06:26 AM
Commandline option handling
Is ter any option to read the options given by the user in commandline and set it to some pubilc property say for example "STARTFROM"
Installshield automatically creates the log file in the %temp% folder in the name given by user but i want to capture the value given by user in commandline and log it.
for ex:
setup /s /v"STARTFROM="
The installer will fail due to the invalid option given by the user
i want to log STARTFROM=
in the log file.
Please suggest some solution
Installshield automatically creates the log file in the %temp% folder in the name given by user but i want to capture the value given by user in commandline and log it.
for ex:
setup /s /v"STARTFROM="
The installer will fail due to the invalid option given by the user
i want to log STARTFROM=
in the log file.
Please suggest some solution
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 01, 2009
11:04 PM
Hello,
You can add this in the property in property table as a Public Property and set the value.
Based on your requirement you can use the property value.
Hope this might help.
You can add this in the property in property table as a Public Property and set the value.
Based on your requirement you can use the property value.
Hope this might help.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 04, 2009
02:21 AM
Once the setup is executed with the value for the property, then you can write a custom action which executes at the beginning to retrieve the proeprty value. Thereon you can use the same for your manipulation...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 04, 2009
04:37 PM
MSI property values are recorded in the MSI log file unless the property is listed in the SecureCustomProperties property. You don't have to do anything special for the value of the property to be written to the log. If you are not seeing your property in the log file you may need to change your log settings.