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
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.
Tags for this Thread