Archive: Command line parameters with setup


Command line parameters with setup
Was wondering if it is possible to create a setup program with NSIS that will basically act like a fancy batch file. All I need to do is make a setup that will run other setups, with their respective command line options, depending on what is fed to my setup program. Example, if I need to run the setup for a public computer, i need to run programs A B and C. But, if i need to run the setup as a staff pc, then all that needs to run is program A and C. Is it possible to have a command line argument with the NSIS setup that would tell it to run the setup silently and automatically select options for the setup program?

like run setup.exe /quiet /option=staff
or setup.exe /quiet /option=public /location=firstfloor


There's a few command-line functions here:
http://nsis.sourceforge.net/archive/...instances=0,11

-Stu


Also you can look at this one: GetOptions