electronelectron-winstaller


Introduction

NPM module that builds Windows installers for Electron apps. It will help to create single EXE for Electron windows application

Syntax

  • Install Globally
  • npm install -g electron-winstaller
  • Install Locally
  • npm install --save-dev electron-winstaller

Parameters

Config NameDescription
appDirectoryThe authors value for the nuget package metadata. Defaults to the author field from your app's package.json file when unspecified.
ownersThe owners value for the nuget package metadata. Defaults to the authors field when unspecified.
exeThe name of your app's main .exe file. This uses the name field in your app's package.json file with an added .exe extension when unspecified.
descriptionThe description value for the nuget package metadata. Defaults to the description field from your app's package.json file when unspecified.
versionThe version value for the nuget package metadata. Defaults to the version field from your app's package.json file when unspecified.
titleThe title value for the nuget package metadata. Defaults to the productName field and then the name field from your app's package.json file when unspecified.
nameWindows Application Model ID (appId). Defaults to the name field in your app's package.json file.
certificateFileThe path to an Authenticode Code Signing Certificate
certificatePasswordThe password to decrypt the certificate given in certificateFile
signWithParamsParams to pass to signtool. Overrides certificateFile and certificatePassword.
iconUrlA URL to an ICO file to use as the application icon (displayed in Control Panel > Programs and Features). Defaults to the Atom icon.
setupIconThe ICO file to use as the icon for the generated Setup.exe
setupExeThe name to use for the generated Setup.exe file
setupMsiThe name to use for the generated Setup.msi file
noMsiShould Squirrel.Windows create an MSI installer?
remoteReleasesA URL to your existing updates. If given, these will be downloaded to create delta updates
remoteTokenAuthentication token for remote updates