Talk:Which command line parameters can be used to configure installers?

From NSIS Wiki
Jump to navigationJump to search

No quotes

The /D switch doesn't seem to support spaces in the directory name (tried many quoting styles), so for example you can't tell NSIS to install VLC into "C:\Program Files\VideoLAN\VLC", when it fails it does it silently and installs into the default directory, in VLC's case "C:\Program Files\VideoLAN\VLC".

It supports spaces, but doesn't support quotes. Just don't use quotes. --kichik 22:50, 17 June 2008 (PDT)
\D doesn't work for me and other people. \S seems to just exit without doing anything. -62.219.97.68 10:47, 22 June 2008 (PDT)
It's backslash, not regular slash and it's case sensitive. /S makes the installer silent, so it only appears to do nothing. --kichik 12:22, 22 June 2008 (PDT)

What about \s and \d?

Are we supposed to only use \S and \D and not \s and \d? -62.219.97.68 10:47, 22 June 2008 (PDT)

Yes, it's case sensitive. --kichik 12:22, 22 June 2008 (PDT)