cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Harmyder
Level 3

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.

Labels (1)
0 Kudos
(2) Replies
Harmyder
Level 3

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?

0 Kudos

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

0 Kudos