Page 1 of 3 123 LastLast
Results 1 to 5 of 11

Thread: Accepting Command line parameters with Basic MSI Project

  1. #1
    Join Date
    Apr 2012
    Posts
    37

    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.

  2. #2
    Join Date
    Jan 2004
    Location
    San Jose
    Posts
    80
    Use the MSI command line builder. Its under tools in installshield. Its very helpful.

  3. #3
    Join Date
    Apr 2012
    Posts
    37
    I thought the command line builder just built the output command line string

  4. #4
    Join Date
    Dec 2011
    Posts
    15
    Quote Originally Posted by BobVilla View Post
    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.
    If you have a property in a suite then you can pass it to msi using MSI (Silent) Command Line.
    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

  5. #5
    Join Date
    Apr 2012
    Posts
    37
    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.

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •