Interface: PortableOptions
Portable options.
Extends
Properties
artifactName?
readonlyoptionalartifactName?:string|null
The artifact file name template.
Inherited from
TargetSpecificOptions.artifactName
buildUniversalInstaller?
readonlyoptionalbuildUniversalInstaller?:boolean
Disable building an universal installer of the archs specified in the target configuration
Default
true
customNsisBinary?
readonlyoptionalcustomNsisBinary?:CustomNsisBinary|null
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
CommonNsisOptions.customNsisBinary
customNsisResources?
readonlyoptionalcustomNsisResources?:CustomNsisResources|null
Allows you to provide your own nsis-resources
Inherited from
CommonNsisOptions.customNsisResources
guid?
readonlyoptionalguid?:string|null
The GUID for the installer. Used to identify the application for upgrade and uninstall operations.
If not specified, a deterministic GUID is generated from the app ID (appId) — but this means
changing your appId will break silent upgrades of existing installs.
See
Inherited from
include?
readonlyoptionalinclude?:string|string[] |null
The path to NSIS include script to customize the portable launcher, or an array of such paths to include multiple scripts. See Custom NSIS script.
Each path is resolved relative to the build resources directory first and then relative to the project directory. When an array is provided, all scripts are included in the specified order.
Unlike the installer targets, the portable target does not fall back to build/installer.nsh — a custom script is only included when this option is explicitly set.
publish?
optionalpublish?:Publish
Inherited from
requestExecutionLevel?
readonlyoptionalrequestExecutionLevel?:"user"|"highest"|"admin"
The requested execution level for Windows.
Default
user
splashImage?
readonlyoptionalsplashImage?:string|null
The image to show while the portable executable is extracting. This image must be a bitmap (.bmp) image.
unicode?
readonlyoptionalunicode?:boolean
Whether to create Unicode installer.
Default
true
Inherited from
unpackDirName?
readonlyoptionalunpackDirName?:string|boolean
The unpack directory for the portable app resources.
If set to a string, it will be the name in TEMP directory
If set explicitly to false, it will use the Windows temp directory ($PLUGINSDIR) that is unique to each launch of the portable application.
Defaults to uuid of build (changed on each build of portable executable).
useZip?
readonlyoptionaluseZip?:boolean
Forces zip compression format instead of LZMA. Used internally for differential update packages.
Default
false
Inherited from
warningsAsErrors?
readonlyoptionalwarningsAsErrors?:boolean
If warningsAsErrors is true (default): NSIS will treat warnings as errors. If warningsAsErrors is false: NSIS will allow warnings.
Default
true