app builder lib.Interface.NsisWebOptions
Electron-Builder / app-builder-lib / NsisWebOptions
Web Installer options.
Extends¶
Properties¶
allowElevation?¶
readonlyoptionalallowElevation:boolean
assisted installer only. Allow requesting for elevation. If false, user will have to restart installer with elevated permissions.
Default¶
true
Inherited from¶
allowToChangeInstallationDirectory?¶
readonlyoptionalallowToChangeInstallationDirectory:boolean
assisted installer only. Whether to allow user to change installation directory.
Default¶
false
Inherited from¶
NsisOptions.allowToChangeInstallationDirectory
appPackageUrl?¶
readonlyoptionalappPackageUrl:null|string
The application package download URL. Optional — by default computed using publish configuration.
URL like https://example.com/download/latest allows web installer to be version independent (installer will download latest application package).
Please note — it is full URL.
Custom X-Arch http header is set to 32 or 64.
artifactName?¶
readonlyoptionalartifactName:null|string
The artifact file name template. Defaults to ${productName} Web Setup ${version}.${ext}.
Overrides¶
buildUniversalInstaller?¶
readonlyoptionalbuildUniversalInstaller:true
Override for NsisOptions.buildUniversalInstaller. nsis-web requires universal installer
Default¶
true
Overrides¶
NsisOptions.buildUniversalInstaller
createDesktopShortcut?¶
readonlyoptionalcreateDesktopShortcut:boolean|"always"
Whether to create desktop shortcut. Set to always if to recreate also on reinstall (even if removed by user).
Default¶
true
Inherited from¶
NsisOptions.createDesktopShortcut
createStartMenuShortcut?¶
readonlyoptionalcreateStartMenuShortcut:boolean
Whether to create start menu shortcut.
Default¶
true
Inherited from¶
NsisOptions.createStartMenuShortcut
customNsisBinary?¶
readonlyoptionalcustomNsisBinary:null|CustomNsisBinary
Allows you to provide your own makensis, such as one with support for debug logging via LogSet and LogText. (Logging also requires option debugLogging = true)
Inherited from¶
customNsisResources?¶
readonlyoptionalcustomNsisResources:null|CustomNsisResources
Allows you to provide your own nsis-resources
Inherited from¶
NsisOptions.customNsisResources
deleteAppDataOnUninstall?¶
readonlyoptionaldeleteAppDataOnUninstall:boolean
one-click installer only. Whether to delete app data on uninstall.
Default¶
false
Inherited from¶
NsisOptions.deleteAppDataOnUninstall
displayLanguageSelector?¶
readonlyoptionaldisplayLanguageSelector:boolean
Whether to display a language selection dialog. Not recommended (by default will be detected using OS language).
Default¶
false
Inherited from¶
NsisOptions.displayLanguageSelector
guid?¶
readonlyoptionalguid:null|string
Inherited from¶
include?¶
readonlyoptionalinclude:null|string
The path to NSIS include script to customize installer. Defaults to build/installer.nsh. See Custom NSIS script.
Inherited from¶
installerHeader?¶
readonlyoptionalinstallerHeader:null|string
assisted installer only. MUI_HEADERIMAGE, relative to the build resources or to the project directory.
Default¶
build/installerHeader.bmp
Inherited from¶
installerHeaderIcon?¶
readonlyoptionalinstallerHeaderIcon:null|string
one-click installer only. The path to header icon (above the progress bar), relative to the build resources or to the project directory.
Defaults to build/installerHeaderIcon.ico or application icon.
Inherited from¶
NsisOptions.installerHeaderIcon
installerIcon?¶
readonlyoptionalinstallerIcon:null|string
The path to installer icon, relative to the build resources or to the project directory.
Defaults to build/installerIcon.ico or application icon.
Inherited from¶
installerLanguages?¶
readonlyoptionalinstallerLanguages:null|string|string[]
The installer languages (e.g. en_US, de_DE). Change only if you understand what do you do and for what.
Inherited from¶
NsisOptions.installerLanguages
installerSidebar?¶
readonlyoptionalinstallerSidebar:null|string
assisted installer only. MUI_WELCOMEFINISHPAGE_BITMAP, relative to the build resources or to the project directory.
Defaults to build/installerSidebar.bmp or ${NSISDIR}\\Contrib\\Graphics\\Wizard\\nsis3-metro.bmp. Image size 164 × 314 pixels.
Inherited from¶
language?¶
readonlyoptionallanguage:null|string
LCID Dec, defaults to 1033(English - United States).
Inherited from¶
license?¶
readonlyoptionallicense:null|string
The path to EULA license file. Defaults to license.txt or eula.txt (or uppercase variants). In addition to txt, rtf and html supported (don’t forget to use target="_blank" for links).
Multiple license files in different languages are supported — use lang postfix (e.g. _de, _ru). For example, create files license_de.txt and license_en.txt in the build resources.
If OS language is german, license_de.txt will be displayed. See map of language code to name.
Appropriate license file will be selected by user OS language.
Inherited from¶
menuCategory?¶
readonlyoptionalmenuCategory:string|boolean
Whether to create submenu for start menu shortcut and program files directory. If true, company name will be used. Or string value.
Default¶
false
Inherited from¶
multiLanguageInstaller?¶
readonlyoptionalmultiLanguageInstaller:boolean
Whether to create multi-language installer. Defaults to unicode option value.
Inherited from¶
NsisOptions.multiLanguageInstaller
oneClick?¶
readonlyoptionaloneClick:boolean
Whether to create one-click installer or assisted.
Default¶
true
Inherited from¶
packElevateHelper?¶
readonlyoptionalpackElevateHelper:boolean
Whether to pack the elevate executable (required for electron-updater if per-machine installer used or can be used in the future). Ignored if perMachine is set to true.
Default¶
true
Inherited from¶
perMachine?¶
readonlyoptionalperMachine:boolean
Whether to show install mode installer page (choice per-machine or per-user) for assisted installer. Or whether installation always per all users (per-machine).
If oneClick is true (default): Whether to install per all users (per-machine).
If oneClick is false and perMachine is true: no install mode installer page, always install per-machine.
If oneClick is false and perMachine is false (default): install mode installer page.
Default¶
false
Inherited from¶
preCompressedFileExtensions?¶
readonlyoptionalpreCompressedFileExtensions:null|string|string[]
The file extension of files that will be not compressed. Applicable only for extraResources and extraFiles files.
Default¶
[".avi", ".mov", ".m4v", ".mp4", ".m4p", ".qt", ".mkv", ".webm", ".vmdk"]
Inherited from¶
NsisOptions.preCompressedFileExtensions
publish?¶
optionalpublish:Publish
Inherited from¶
removeDefaultUninstallWelcomePage?¶
readonlyoptionalremoveDefaultUninstallWelcomePage:boolean
assisted installer only. remove the default uninstall welcome page.
Default¶
false
Inherited from¶
NsisOptions.removeDefaultUninstallWelcomePage
runAfterFinish?¶
readonlyoptionalrunAfterFinish:boolean
Whether to run the installed application after finish. For assisted installer corresponding checkbox will be removed.
Default¶
true
Inherited from¶
script?¶
readonlyoptionalscript:null|string
The path to NSIS script to customize installer. Defaults to build/installer.nsi. See Custom NSIS script.
Inherited from¶
selectPerMachineByDefault?¶
readonlyoptionalselectPerMachineByDefault:boolean
Whether to set per-machine or per-user installation as default selection on the install mode installer page.
Default¶
false
Inherited from¶
NsisOptions.selectPerMachineByDefault
shortcutName?¶
readonlyoptionalshortcutName:null|string
The name that will be used for all shortcuts. Defaults to the application name.
Inherited from¶
unicode?¶
readonlyoptionalunicode:boolean
Whether to create Unicode installer.
Default¶
true
Inherited from¶
uninstallDisplayName?¶
readonlyoptionaluninstallDisplayName:null|string
The uninstaller display name in the control panel.
Default¶
${productName} ${version}
Inherited from¶
NsisOptions.uninstallDisplayName
uninstallerIcon?¶
readonlyoptionaluninstallerIcon:null|string
The path to uninstaller icon, relative to the build resources or to the project directory.
Defaults to build/uninstallerIcon.ico or application icon.
Inherited from¶
uninstallerSidebar?¶
readonlyoptionaluninstallerSidebar:null|string
assisted installer only. MUI_UNWELCOMEFINISHPAGE_BITMAP, relative to the build resources or to the project directory.
Defaults to installerSidebar option or build/uninstallerSidebar.bmp or build/installerSidebar.bmp or ${NSISDIR}\\Contrib\\Graphics\\Wizard\\nsis3-metro.bmp
Inherited from¶
NsisOptions.uninstallerSidebar
uninstallUrlHelp?¶
readonlyoptionaluninstallUrlHelp:null|string
The URL to the uninstaller help page in the control panel. Defaults to homepage from application package.json.
Inherited from¶
uninstallUrlInfoAbout?¶
readonlyoptionaluninstallUrlInfoAbout:null|string
The URL to the uninstaller info about page in the control panel. Defaults to homepage from application package.json.
Inherited from¶
NsisOptions.uninstallUrlInfoAbout
uninstallUrlReadme?¶
readonlyoptionaluninstallUrlReadme:null|string
The URL to the uninstaller readme page in the control panel. Defaults to homepage from application package.json.
Inherited from¶
NsisOptions.uninstallUrlReadme
uninstallUrlUpdateInfo?¶
readonlyoptionaluninstallUrlUpdateInfo:null|string
The URL to the uninstaller update info page in the control panel. Defaults to homepage from application package.json.
Inherited from¶
NsisOptions.uninstallUrlUpdateInfo
warningsAsErrors?¶
readonlyoptionalwarningsAsErrors:boolean
If warningsAsErrors is true (default): NSIS will treat warnings as errors. If warningsAsErrors is false: NSIS will allow warnings.
Default¶
true