Search code examples
installationadminnsisprivileges

NSIS Installer without Admin Privileges


I'm trying to configure the NSIS installer to run without admin privileges. Is this possible?

I'm testing as a non-admin user because some customers don't have those privileges.

What settings in NSIS cause the installer require admin privileges?

I've tried all variations of RequestExecutionLevel none with no joy.


Solution

  • To make your installer run without admin privileges, use this:

    RequestExecutionLevel user
    

    Use admin to make your installer require admin privileges. From the reference, none has the same effect (emphasis mine):

    Windows Vista/7 automatically identifies NSIS installers and decides administrator privileges are required. Because of this, none and admin have virtually the same effect.