Require administrator when UAC is switched off

Answered

Comments

1 comment

  • Avatar
    wojciechka

    Setting <requireInstallationByRootUser> to 1 will cause the installer to exit if current user is not an administrator.

    For example:

    <project> <requireInstallationByRootUser>1</requireInstallationByRootUser> <!-- ... --> </project>

    Also, the ${installer_is_root_install} variable can be used to check if user is administrator on Windows.

Please sign in to leave a comment.