Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 25th February 2004, 21:37   #1
KirillKr
Member
 
Join Date: Feb 2004
Location: Kaliningrad, RF
Posts: 74
Send a message via ICQ to KirillKr
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)?
KirillKr is offline   Reply With Quote
Old 25th February 2004, 22:16   #2
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
You'll have to parse the command line yourself.

For an example see the Users Manual, 4.12 Silent Installers/Uninstallers.
Joost Verburg is offline   Reply With Quote
Old 25th February 2004, 22:35   #3
KirillKr
Member
 
Join Date: Feb 2004
Location: Kaliningrad, RF
Posts: 74
Send a message via ICQ to KirillKr
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.
KirillKr is offline   Reply With Quote
Old 26th February 2004, 10:04   #4
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
Then you should contact the author of that installer to add such a feature.
Joost Verburg is offline   Reply With Quote
Old 26th February 2004, 21:39   #5
KirillKr
Member
 
Join Date: Feb 2004
Location: Kaliningrad, RF
Posts: 74
Send a message via ICQ to KirillKr
Quote:
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.
KirillKr is offline   Reply With Quote
Old 26th February 2004, 21:53   #6
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
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.
Joost Verburg is offline   Reply With Quote
Old 26th February 2004, 22:03   #7
KirillKr
Member
 
Join Date: Feb 2004
Location: Kaliningrad, RF
Posts: 74
Send a message via ICQ to KirillKr
Quote:
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.
KirillKr is offline   Reply With Quote
Old 26th February 2004, 22:10   #8
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
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.
Joost Verburg is offline   Reply With Quote
Old 27th February 2004, 07:03   #9
KirillKr
Member
 
Join Date: Feb 2004
Location: Kaliningrad, RF
Posts: 74
Send a message via ICQ to KirillKr
Quote:
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.
KirillKr is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump