Archive: Question for developers about command line perams


Question for developers about command line perams
I have some question or wish:
Did the installer build with NSIS understand (on default) parametr which told installer default start menu group? /D told installer to install software in this directory if this silent install.
If NSIS don't understand this, can you add this parametr in new build (alpha|beta or release)?


You'll have to parse the command line yourself.

For an example see the Users Manual, 4.12 Silent Installers/Uninstallers.


No. I want use this in installer which somebody other made.
About parsing in our installer I read, but I want use it not in my installer.


Then you should contact the author of that installer to add such a feature.


Originally posted by Joost Verburg
Then you should contact the author of that installer to add such a feature.
I doubt, that they will agree. I told, for example, about distribution of NIMO Codecs Pack.
One more example is WinAmp. I like this player, but I don't like default folders, such as $PROGRAMDIR\WinAmp -> I prefer $PROGRAMDIR\MMedia\WinAmp. And I Like in StartMenu Filder $STARTMENU_FOLDER\MMedia\WinAmp.

You can change that using the interface, but if the author did not an a command line options, you can't change it when installing silently.


Originally posted by Joost Verburg
You can change that using the interface, but if the author did not an a command line options, you can't change it when installing silently.
Yes. I speak about it. Next example, k-lite codecs, this distributive build with InnoSetup Compiler and it is not important for me, because compiler inclute default parametr for StartMenu:

/DIR="x:\dirname"
Overrides the default directory name displayed on the Select Destination Location wizard page. A fully qualified pathname must be specified.
/GROUP="folder name"
Overrides the default folder name displayed on the Select Start Menu Folder wizard page. If the [Setup] section directive DisableProgramGroupPage was set to yes, this command line parameter is ignored.

NSIS doesn't have only one typical Start Menu page, it's a plug-in and you can use it more than once.

Therefore it can't be a default compiler feature, but everyone can add such a feature as described in the manual.


Originally posted by Joost Verburg
NSIS doesn't have only one typical Start Menu page, it's a plug-in and you can use it more than once.

Therefore it can't be a default compiler feature, but everyone can add such a feature as described in the manual.
Ok. This is I want listen. No more questions.