


When invoked with the /allusers parameter and MULTIUSER_INSTALLMODE_ALLOW_ELEVATION is 0:

When invoked with the /allusers parameter and MULTIUSER_INSTALLMODE_ALLOW_ELEVATION is 1 (native NSIS interface): When MULTIUSER_INSTALLMODE_ALLOW_ELEVATION is 0 and running as a regular user, per-machine option is disabled (native NSIS interface):
DBEAVER INSTALL INSTALL
When MULTIUSER_INSTALLMODE_ALLOW_BOTH_INSTALLATIONS is 0, there is existing per-machine installation and running as a regular user, elevation to install per-user is required (Modern UI 2): When there is an existing installation, it is always selected (Modern UI 2):

When running as admin, no elevation is required: Installation for all users requires elevation: Installation for current user requires no elevation: When MULTIUSER_INSTALLMODE_ALLOW_ELEVATION is 1, there is no existing istallation and running as a regular user (Ultra Modern UI).
DBEAVER INSTALL FULL
DBEAVER INSTALL WINDOWS
If elevation is disabled, the per-machine option becomes available only if the (un)installer is started elevated from Windows and is disabled otherwise.Īn option ( MULTIUSER_INSTALLMODE_ALLOW_BOTH_INSTALLATIONS) defines whether simultaneous per-user and per-machine installations on the same machine are allowed. BothĪn option ( MULTIUSER_INSTALLMODE_ALLOW_ELEVATION) defines whether elevation if allowed. When invoked from the Windows Uninstall dialog or from the Start menu, a parameter to the uninstaller is passed, so that it detects which verion to uninstall, and the page is not displayed. In this case, the uninstaller asks for elevation if per-machine version is to be uninstalled. If there is only one installed version or if command-line parameters are passed specifying which version to uninstall, the page is not displayed. Elevation is required only when per-machine version is uninstalled. The plugin creates the same custom page and shows it in the beginning of the uninstaller if there are two installations. Limited users can also install per-machine as long as they know the administrator credentials. If the user selects per-machine install, the Windows shield is displayed on the Next button and elevation is required. If the user selects per-user install, he can install only for himself without being asked for elevation (except when there is per-machine installation that needs to be removed first). When the user starts the setup, he is not forced to elevate in the beginning. The page is displayed always and has two options: install for all users (per-machine) and install for current user only (per-user). The plugin creates a custom Install Options page based on the nsDisalogs library that is displayed before the Components page. This plugin was inspired by MultiUser.nsh (by Joost Verburg), but supports a lot of new features and is easier to use. NSIS plugin that allows "per-user" (no admin required) and "per-machine" (asks elevation only when necessary) installations.
