Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2012
    Posts
    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

  2. #2
    Join Date
    Apr 2005
    Location
    Tabo„o da Serra
    Posts
    3,421
    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

Tags for this Thread

Posting Permissions

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