How to use electron-forge-maker-nsis

See original GitHub issue

This isn’t a bug as much as a request for documentation. I am currently using Electron Forge on a project and wanted to use your electron-forge-maker-nsis package to help create a NSIS installer.

The documentation is very scant on how to do this within the Electron Forge framework.

I think it would be most helpful to know:

  • how to configure this within Electron Forge. Should there be a “nsis” key at the top level of my package.json?
  • how to run this task. I have tried just running the task straight (yarn electron-forge-maker-nsis) but that is not a valid command. How can I hook this into a scripts object so I can create a shortcut to run it?

Thanks for all your hard work in improving the Electron development landscape!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
factoronecommented, Nov 8, 2018

I’m also interested in doing this, as while Electron Builder does a great job of building everything for distribution, we’re using an instance of Atlassian’s Nucleus for distributing our application. Electron Forge has a much better integration with that platform for distribution, but the installers it generates for windows are, frankly, hot garbage from a visual standpoint.

0reactions
linonetwocommented, Jun 27, 2021

Do you have example of using this package?

I’m currently using

      "makers": [
        {
          "name": "@electron-forge/maker-squirrel",
          "config": {
            "setupIcon": "build-resources/icon.ico"
          }
        },

In electron forge.

If I switch to electron-forge-maker-nsis, how the config file will be? Where to put icon path?

Read more comments on GitHub >

github_iconTop Results From Across the Web

electron-forge-maker-nsis - npm
Start using electron-forge-maker-nsis in your project by running `npm i electron-forge-maker-nsis`. There are no other projects in the npm ...
Read more >
Electron Forge: Getting Started
To get started with Electron Forge, we first need to initialize a new project with create-electron-app . This script is a convenient wrapper...
Read more >
electron-forge-maker-nsis-web - UNPKG
Recommended to build electron-forge project using electron-builder directly. 6, [Publishing](https://www.electron.build/configuration/publish) ...
Read more >
electron-forge-maker-nsis - npm package - Snyk
The npm package electron-forge-maker-nsis was scanned for known vulnerabilities and missing license, and no issues were found. Thus the package was deemed as ......
Read more >
NSIS - electron-builder
These options also applicable for Web installer, use top-level nsisWeb key. oneClick = true Boolean - Whether to create one-click installer or assisted....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found