Skip to content
⌘ NSIS Forum Archive

Install in C:\

4 posts

ascTim#edited

Install in C:\

Hello,

I want to install my program on "C:\" but every time I run the installer, the "Install" button gets grey, because I have to insert a different path (like "C:\Program Files") to install.

Can I turn this setting off and where?

edit: I am using nsis v3.0b1
JasonFriday13#
It sounds like you are wanting to choose the drive, not the directory.

The directory page is for the full install path, so '$PROGRAMFILES\My Test Program' is a typical install path. Installing to a root directory is a bad idea which is why nsis doesn't allow it by default.
ascTim#
Originally Posted by LoRd_MuldeR View Post
Look for AllowRootDirInstall in the NSIS manual 😉
That was exactly what I was looking for.
This helps me alot and our clients will be happy as well! 😉

Thank you very much and have a good day / weekend! 🙂