question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project follows, as appropriate.
  • I have searched the issue tracker for an issue that matches the one I want to file, without success.

I am wondering why electron-forge is using Squirrel by default for Windows, while electron-build reports Squirrel as deprecated. Is that because the transition to NSIS should still be made or are there any other reasons to have Squirrel as default?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

16reactions
MarshallOfSoundcommented, Apr 16, 2018

while electron-build reports Squirrel as deprecated

To be frank, that is a very misleading statement by the folks documenting over at electron-builder. Squirrel is no where close to being deprecated. I would claim that the majority of big Electron apps nowadays use Squirrel.Windows. Look at anything like Atom or Slack…

Is that because the transition to NSIS should still be made

IMO NSIS is a worse installation and user experience than Squirrel.Windows, and I don’t see us adding first party support for it any time soon. You can, of course, use the NSIS target from electron-builder as a target in electron-forge but I see Squirrel.Windows as the way moving forward.

To be 100% clear, Squirrel.Windows is “deprecated” in electron-builder only. The maker of electron-builder has no involvement in the release or maintenance of Squirrel.Windows and definitely doesn’t have the power to call it “deprecated”. I will continue recommending Squirrel.Windows to anyone who asks me.

TLDR: Use Squirrel 😄

4reactions
LeonardoRickcommented, Feb 10, 2021

So, for who’s starting now, whats the best library to use nowadays?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Squirrel vs NSIS · Issue #485 · electron/forge - GitHub
IMO NSIS is a worse installation and user experience than Squirrel.Windows, and I don't see us adding first party support for it any...
Read more >
Electron: The Bad Parts. Most cross platform programming…
The official Electron documentation suggests the Squirrel (Windows ... It is based on the established NSIS installer (Windows) and plain old ...
Read more >
Application deployment with NSIS and Squirrel - Igor Kulman
The problem with Squirrel is that it cannot install a hardware driver as part of the installation process and it typically install applications ......
Read more >
Squirrel.Windows - electron-builder
Squirrel.Windows target is maintained, but deprecated. Please use nsis instead. To use Squirrel.Windows please install electron-builder-squirrel-windows ...
Read more >
electron-forge won't let me use NSIS - Stack Overflow
I'm trying to make an application with a customizable installer through NSIS, but electron-forge always reverts to Squirrel.Windows.
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