Archive: how to not add appname in MUI_PAGE_DIRECTORY when selected dir is not default (: ?


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


From the documentation:

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.

Where did you find this documentation?
I could only find this link for the Modern UI docs http://nsis.sourceforge.net/Docs/Mod...ustomFunctions


The all mighty Chapter 4.


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