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
- :
- Read parameter from command line
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 21, 2009
02:59 AM
Read parameter from command line
Hi,
I have Installscript MSI project, I would like to run it with parameter with (/v) and during the installscript to use this parameter.
What's the way to read this parameter to a srting ?
Thanks, Gal.
I have Installscript MSI project, I would like to run it with parameter with (/v) and during the installscript to use this parameter.
What's the way to read this parameter to a srting ?
Thanks, Gal.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 21, 2009
03:35 AM
Hi,
did u tried this? if not try and check....
setup.exe /V"MYPROPERTY=0"
you should declare MYPROPERTY in your Property table...
In script you can access this MYPROPERTY using
MsiGetProperty(ISMSI_HANDLE, "MYPROPERTY", szValue, nBuffer);
hope this helps to u 🙂
did u tried this? if not try and check....
setup.exe /V"MYPROPERTY=0"
you should declare MYPROPERTY in your Property table...
In script you can access this MYPROPERTY using
MsiGetProperty(ISMSI_HANDLE, "MYPROPERTY", szValue, nBuffer);
hope this helps to u 🙂
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 21, 2009
03:50 AM
Hi,
Thanks. It is working.
Gal.
Thanks. It is working.
Gal.