Reference/AllowRootDirInstall

From NSIS Wiki
Jump to navigationJump to search

AllowRootDirInstall

true|false

Controls whether or not installs are enabled to the root directory of a drive, or directly into a network share. Set to 'true' to change the safe behavior, which prevents users from selecting C:\ or \\Server\Share as an install (and later on, uninstall) directory. For additional directory selection page customizability, see .onVerifyInstDir.

Command introduced with NSIS v1.80