Our project settings include both installationScope=allusers and requestedExecutionLevel=requireAdministrator. However, we've discovered that the installer does not seem to work properly when UAC is switched off by selecting "Never Notify" from "Control Panel -> User Accounts -> Change User Account Control settings" on Windows 7.
When the installer is run from a regular user account, the elevation box is not displayed (obviously because it's turned off in the system), but the installer proceeds without checking that the current user has administrative privileges. This causes all kinds of strange behavior when the installer hits no permissions error: - Files/directories are not created - Uninstall entry is not created in registry - Etc.
Could you please advise how we should proceed in this case to make sure that the installer exits if the current user does not possess administrative privileges? Can this be done using Bitrock, or we would have to add a pre-install hook with a custom executable?
Thanks a lot Giga
Please sign in to leave a comment.