Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 23rd October 2004, 01:51   #1
nanami
Junior Member
 
Join Date: Apr 2004
Posts: 9
how to not add appname in MUI_PAGE_DIRECTORY when selected dir is not default (: ?

how to make MUI_PAGE_DIRECTORY to not add \application_name when directory selected != default InstallDir

ie. InstallDir "$PROGRAMFILES\gravity\RO", so do not addo \RO when user select e:\

edit: and sorry for my bad engRish
nanami is offline   Reply With Quote
Old 23rd October 2004, 09:07   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
From the documentation:
Quote:
Sets the default installation directory is. See the variables section for variables that can be used to make this string (especially $PROGRAMFILES). Note that the part of this string following the last \ will be used if the user selects 'browse', and may be appended back on to the string at install time (to disable this, end the directory with a \ (which will require the entire parameter to be enclosed with quotes). If this doesn't make any sense, play around with the browse button a bit.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 24th January 2007, 10:46   #3
RoryBecker
Junior Member
 
Join Date: Jan 2007
Posts: 2
Where did you find this documentation?

I could only find this link for the Modern UI docs http://nsis.sourceforge.net/Docs/Mod...ustomFunctions
RoryBecker is offline   Reply With Quote
Old 24th January 2007, 10:49   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
The all mighty Chapter 4.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 24th January 2007, 10:52   #5
RoryBecker
Junior Member
 
Join Date: Jan 2007
Posts: 2
Cheers man.

My mistake was to search for docs for MUI_PAGE_DIRECTORY. I forgot that this would be using basic concepts underneath.

Thanks again.

P.S. I love your sig
RoryBecker is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast 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