Archive: cannot install in root directory of a hard disk - bug?


cannot install in root directory of a hard disk - bug?
Hi
I'm using NSIS 2 RC3, and I cannot install something in the root folder of my hard disk. Whenever I type in "C:\" (without the quotes) or browse to C:\, the install button is greyed out.

Does anyone know how to fix this?

Regards,
Richard


It's a safety feature. Set AllowRootDirInstall to true if you want to allow root folder installations.


safety from what? What is this supposed to protect users from?


From installers overwriting important files or from uninstallers deleting important files.


I guess. I'm not really worried about that though because my installer only installs one file (as well as the vb runtimes, but those go into the windows folders), and doesn't install an uninstaller.


These important files are computer initalization programs, without them your computer doesn't initialize anymore. Then with a diskette you can initialize basic functions, but not the Windows anymore. Did you catch it?


It that case you can just disable this check as I explained above.