app builder lib.Interface.WindowsConfiguration
Electron-Builder / app-builder-lib / WindowsConfiguration
Extends¶
Properties¶
additionalCertificateFile?¶
readonlyoptionaladditionalCertificateFile:null|string
The path to an additional certificate file you want to add to the signature block.
Deprecated¶
Please use signtoolOptions: WindowsSigntoolConfiguration.additionalCertificateFile
azureSignOptions?¶
readonlyoptionalazureSignOptions:null|WindowsAzureSigningConfiguration
Options for usage of Azure Trusted Signing (beta)
certificateFile?¶
readonlyoptionalcertificateFile:null|string
The path to the *.pfx certificate you want to sign with. Please use it only if you cannot use env variable CSC_LINK (WIN_CSC_LINK) for some reason.
Please see Code Signing.
Deprecated¶
Please use signtoolOptions: WindowsSigntoolConfiguration.certificateFile
certificatePassword?¶
readonlyoptionalcertificatePassword:null|string
The password to the certificate provided in certificateFile. Please use it only if you cannot use env variable CSC_KEY_PASSWORD (WIN_CSC_KEY_PASSWORD) for some reason.
Please see Code Signing.
Deprecated¶
Please use signtoolOptions: WindowsSigntoolConfiguration.certificatePassword
certificateSha1?¶
readonlyoptionalcertificateSha1:null|string
The SHA1 hash of the signing certificate. The SHA1 hash is commonly specified when multiple certificates satisfy the criteria specified by the remaining switches. Works only on Windows (or on macOS if Parallels Desktop Windows 10 virtual machines exits).
Deprecated¶
Please use signtoolOptions: WindowsSigntoolConfiguration.certificateSha1
certificateSubjectName?¶
readonlyoptionalcertificateSubjectName:null|string
The name of the subject of the signing certificate, which is often labeled with the field name issued to. Required only for EV Code Signing and works only on Windows (or on macOS if Parallels Desktop Windows 10 virtual machines exits).
Deprecated¶
Please use signtoolOptions: WindowsSigntoolConfiguration.certificateSubjectName
icon?¶
readonlyoptionalicon:null|string
The path to application icon.
Default¶
build/icon.ico
Overrides¶
PlatformSpecificBuildOptions.icon
legalTrademarks?¶
readonlyoptionallegalTrademarks:null|string
The trademarks and registered trademarks.
publisherName?¶
readonlyoptionalpublisherName:null|string|string[]
The publisher name, exactly as in your code signed certificate. Several names can be provided. Defaults to common name from your code signing certificate.
Deprecated¶
Please use signtoolOptions: WindowsSigntoolConfiguration.publisherName
requestedExecutionLevel?¶
readonlyoptionalrequestedExecutionLevel:null|RequestedExecutionLevel
The security level at which the application requests to be executed.
Cannot be specified per target, allowed only in the win.
Default¶
asInvoker
rfc3161TimeStampServer?¶
readonlyoptionalrfc3161TimeStampServer:null|string
The URL of the RFC 3161 time stamp server.
Default¶
http://timestamp.digicert.com
Deprecated¶
Please use signtoolOptions: WindowsSigntoolConfiguration.rfc3161TimeStampServer
sign?¶
readonlyoptionalsign:null|string|CustomWindowsSign
The custom function (or path to file or module id) to sign Windows executables
Deprecated¶
Please use signtoolOptions: WindowsSigntoolConfiguration.sign
signAndEditExecutable?¶
readonlyoptionalsignAndEditExecutable:boolean
Whether to sign and add metadata to executable. Advanced option.
Default¶
true
signDlls?¶
readonlyoptionalsignDlls:boolean
Whether to sign DLL files. Advanced option.
See¶
https://github.com/electron-userland/electron-builder/issues/3101#issuecomment-404212384
Default¶
false
Deprecated¶
Use signExts instead for more explicit control
signExts?¶
readonlyoptionalsignExts:null|string[]
Explicit file extensions to also sign. Advanced option.
See¶
https://github.com/electron-userland/electron-builder/issues/7329
Default¶
null
signingHashAlgorithms?¶
readonlyoptionalsigningHashAlgorithms:null| ("sha256"|"sha1")[]
Array of signing algorithms used. For AppX sha256 is always used.
Deprecated¶
Please use signtoolOptions: WindowsSigntoolConfiguration.signingHashAlgorithms
signtoolOptions?¶
readonlyoptionalsigntoolOptions:null|WindowsSigntoolConfiguration
Options for usage with signtool.exe
target?¶
readonlyoptionaltarget:TargetConfigType
The target package type: list of nsis, nsis-web (Web installer), portable ([portable]./nsis.md#portable) app without installation), appx, msi, msi-wrapped, squirrel, 7z, zip, tar.xz, tar.lz, tar.gz, tar.bz2, dir.
AppX package can be built only on Windows 10.
To use Squirrel.Windows please install electron-builder-squirrel-windows dependency.
Default¶
nsis
Overrides¶
PlatformSpecificBuildOptions.target
timeStampServer?¶
readonlyoptionaltimeStampServer:null|string
The URL of the time stamp server.
Default¶
http://timestamp.digicert.com
Deprecated¶
Please use signtoolOptions: WindowsSigntoolConfiguration.timeStampServer
verifyUpdateCodeSignature?¶
readonlyoptionalverifyUpdateCodeSignature:boolean
Whether to verify the signature of an available update before installation. The publisher name will be used for the signature verification.
Default¶
true