cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
HarithaKodey
Level 2

Creting User Defined Properties and Passing values through Command Line

Hi Team,

Kindly help me doing below.

I have a basic MSI Project (.msi) (In InstallShield 2008), and now i need to send some value to Install script while running it. For this i want to create a property and should send some value to that property from command line while calling the .msi file. So that, i can use that value inside my install Script.

So, please help me how to create a new property and how to pass value to that property through command line.

Regards,
Haritha Kodey
Labels (1)
0 Kudos
(1) Reply
Not applicable

HarithaKodey wrote:
Hi Team,

Kindly help me doing below.

I have a basic MSI Project (.msi) (In InstallShield 2008), and now i need to send some value to Install script while running it. For this i want to create a property and should send some value to that property from command line while calling the .msi file. So that, i can use that value inside my install Script.

So, please help me how to create a new property and how to pass value to that property through command line.

Regards,
Haritha Kodey


1. Add public property in Property Manager viewer, for example MYPROPERTY1.
2. CMD sample: msiexec /i Product.msi /v"MYPROPERTY1=value1"
3. Call GetPropertyMsi in your InstallScript.
0 Kudos