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: Creting User Defined Properties and Passing values through 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 02, 2014
04:38 AM
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
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) Reply
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 03, 2014
09:00 PM
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.