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: How to read parameter from rul-file
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
‎Dec 11, 2020
10:05 AM
How to read parameter from rul-file
Suppose I run an installer like the following:
setup.exe /v"PARAMETER=Value"
How to read the value of PARAMETER from rul-file?
I understand that I need to use GetProfString and GetProfInt functions but maybe there is a complete example.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 11, 2020
01:46 PM
I run the installer with the following command
setup.exe /v"SHOWDBGMSGBOX=1"
Then I look into CMDLINE. It is equal to /v"SHOWDBGMSGBOX=1". But how to parse it?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 14, 2020
01:57 AM
Hi,
The PARAMETER is called as public property in MSI. We can access this property in (rul) file by using MsiGetProperty function.
Please refer the below url
https://docs.revenera.com/installshield25helplib/helplibrary/IHelpIScriptWIProperty.htm
Thanks,
Thananjeyan