Accepting Command line parameters with Basic MSI Project
How do you set up a Basic MSI project to accept command line variables? Can I have it populate the property manager with the values passed in with the command line?
I have several Basic MSI projects that I am building and want them to accept command line values. I am using the Basic MSI projects to build exe/msi files to be used in a suite project. Building my custom dialogs in the suite project to get settings from the user and passing them to the exe/msi files. I just don't know how to get the exe/msi files to know what to do with them once they are passed in.
Use the MSI command line builder. Its under tools in installshield. Its very helpful.
I thought the command line builder just built the output command line string
If you have a property in a suite then you can pass it to msi using MSI (Silent) Command Line.
Originally Posted by BobVilla
Let's say you have a text box in wizards with propery XYZ to pass it to msi you add to Packages/Operation/Install Command Line: XYZ="[XYZ]"
The first part is a property in MSI and quoted is the value from text box in suite.
In MSI it could be whatever like username for a service, a condition whether to fire a CA, etc.
Hope it makes sense
I understand passing from the suite project to the Basic (exe or msi). I guess what I am missing is what do I have to do to make the basic(project) realize that there is a value coming through the command line and what to do with it.