Hi, I want to create an installer using NSIS, In which, that installer should accept command line arguments. for eg: Let us consider, I have an installer, It contains two exe's, If I run that installer directly, then that should ask the user which exes has to execute. else if I run through command prompt, then that should have capable to accept my command line argument.. In that command line itself I mentioned which one has to install command line arguments means. myinstaller_name.exe -firstexe_name Can Any one help me..
This can be easily done with Flexera InstallShield (Early names after acquisition of the InstallShield Corporation are Macrovision, Acresso, etc...) Since you use NSIS you will have to find it in their documentation. (I'm not sure you'll be able to give custom command-line arguments with NSIS)
Or you can use Inno Setup, which is free http://www.jrsoftware.org/. But also not sure if it supports command line input