-
Notifications
You must be signed in to change notification settings - Fork 17
Variables
Contains the current user level, returned by the UserInfo
plugin. Possible values: Admin
, Power
(up to Windows XP), User
, Guest
. If the current user level is Admin
or Power
, $IsAdmin
is set to 1, otherwise to 0.
Contains the current installation mode. Possible values are AllUsers
for per-machine installation and CurrentUser
for per-user installation.
0 or 1, determines if current user is admin or not. Initialized depending on the current user level returned by the UserInfo
plugin.
0 or 1, determines if the code is executed in the context of the inner instance, initialized via UAC_IsInnerInstance.
0 or 1, determines whether there is per-machine installation.
0 or 1, determines whether there is per-user installation.
0 or 1, determines whether there is installation corresponding to the installation mode in $MultiUser.InstallMode
.
Contains the version number (DisplayVersion
) stored in registry of the per-machine installation or is empty if there is no per-machine installation.
Contains the version number (DisplayVersion
) stored in registry of the per-user installation or is empty if there is no per-user installation.
Contains the installation folder (InstallLocation
) stored in registry of the per-machine installation or is empty if there is no per-machine installation.
Contains the installation folder (InstallLocation
) stored in registry of the per-user installation or is empty if there is no per-user installation.
Contains the UninstallString
stored in registry of the per-machine installation or is empty if there is no per-machine installation.
Contains the UninstallString
stored in registry of the per-user installation or is empty if there is no per-user installation.
0 or 1, specifies whether only per-user radio button is available on page, or both options are available. Will be 0 only when MULTIUSER_INSTALLMODE_ALLOW_ELEVATION
is 0 and current user is not admin.
0 or 1, use it to hide all pages before Components inside the installer when running as inner instance.
Usage:
!define MUI_PAGE_CUSTOMFUNCTION_PRE PageWelcomeLicensePre
!insertmacro MUI_PAGE_WELCOME
!define MUI_PAGE_CUSTOMFUNCTION_PRE PageWelcomeLicensePre
!insertmacro MUI_PAGE_LICENSE "License.txt"
...
Function PageWelcomeLicensePre
${if} $InstallShowPagesBeforeComponents == 0
Abort ; don't display the Welcome and License pages for the inner instance
${endif}
FunctionEnd
0 or 1, use it to show/hide the Back button on the first visible page of the uninstaller
Usage:
!define MUI_PAGE_CUSTOMFUNCTION_SHOW un.PageComponentsShow
!insertmacro MUI_UNPAGE_COMPONENTS
...
Function un.PageComponentsShow
; Show/hide the Back button
GetDlgItem $0 $HWNDPARENT 3
ShowWindow $0 $UninstallShowBackButton
FunctionEnd
0 or 1, internal variable specifying whether dialog will be displayed.
0 or 1, internal variable specifying whether the PRE
callback for the dialog has been called.
Contains command-line install mode set via /allusers and /currentusers parameters. Possible values are AllUsers
and CurrentUser
.
Contains the installation directory set via the /D
command-line parameter.
Contains the handle to the page created by the nsDialogs
plugin.
Contains the handle to the label above the two radio-buttons.
Contains the handle to the radio-button for per-machine installs.
Contains the handle to the radio-button for per-user installs.
Contains the handle to the label for per-machine installs.
Contains the handle to the label for per-user installs.
Contains the handle to the label below the two radio-buttons.