Commandline paramters to the bootstrapper

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • ribbeye
    Forum Member
    • Apr 2012
    • 3

    Commandline paramters to the bootstrapper

    Is there a way I can take the commandline paramters from the bootstrapper, pass them into the MSI and have the MSI pass them to my application at the end?

    setup.exe /Server=SomeServer runs and calls setup.msi /qn /Server=SomeServer runs and calls MyApp.exe /Server=SomeServer

    Thanks,
    David Ribb
  • Ulrich
    Indigo Rose Staff Member
    • Apr 2005
    • 5130

    #2
    The command line arguments are stored in a global table named _CommandLineArgs. You just need to check the contents of that table in your script and do whatever you want with these arguments.

    I have several samples on my web site.

    Ulrich

    Comment

    Working...
    X