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.

Does Forge plan to replace squirrel-windows with NSIS (or other alternatives) like Electron-Builder has done given squirrel is not being actively maintained?

See original GitHub issue

Pre-flight checklist

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project uses.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Problem description

Electron-builder suggests using NSIS for windows builds instead of Squirrel: https://www.electron.build/configuration/squirrel-windows.html

Squirrel.Windows target is maintained, but deprecated. Please use nsis instead.

image

https://github.com/Squirrel/Squirrel.Windows/issues/1470

Proposed solution

Add capability like NSIS to replace squirrel for windows.

I have also noticed some issues with squirrel for windows and especially that it is super slow to make a build for our app (compared to building for Mac).

Thanks!

Alternatives considered

Following electron-builder which offers option to use NSIS.

Additional information

No response

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Reactions:3
  • Comments:16 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
MarshallOfSoundcommented, Nov 12, 2022

Electron-builder suggests using NSIS for windows builds instead of Squirrel: https://www.electron.build/configuration/squirrel-windows.html

Electron builder made this determination with no community involvement and in fact long before the “looking for contributors” message was posted on Squirrel.Windows. The project is definitely not deprecated, archived or dead in any way. Commits were landing as recently as September.

“Actively Maintained” is a very opinionated / qualitative determination, personally Squirrel.Windows Works ™️ for the 99% case, is still used by some of the largest electron apps (slack, msft projects, etc.) and given that any significant issues will be dealt with.

That said, Forge currently supports MSI based distributions (backed by Wix) which is a more “enterprisey” deployment platform and Windows Store distributions for those that want to ship things through the store (bonus of no worrying about updaters).

If we were to add support for another Windows target it would probably be MSIX rather than something like NSIS.

I have also noticed some issues with squirrel for windows and especially that it is super slow to make a build for our app (compared to building for Mac).

The worst case I have seen is a few minutes, which honestly isn’t the end of the world and will be improved in upcoming Squirrel versions that have newer compression libraries.

I’d also note a key difference maker here is that Forge is designed so that if you wanted to, you can very easily both write and publish your own “make” target. See our docs on writing your own maker.

The TLDR is I don’t see NSIS on our immediate plans, a community maker for NSIS is very possible, our next potential target for windows is probably MSIX.

0reactions
GitMurfcommented, Nov 14, 2022

@MarshallOfSound ok thanks so much for all your help and quick responses. Much appreciated 😃 Now I will let this GH Issue be “officially” closed and stop bugging you 🤣

Read more comments on GitHub >

github_iconTop Results From Across the Web

Squirrel.Windows is no longer maintained · Issue #17722
This project is no longer maintained, pull requests are no longer being reviewed or merged and issues are no longer being responded to....
Read more >
Squirrel.Windows - Electron Forge
Squirrel.Windows is a no-prompt, no-hassle, no-admin method of installing Windows applications, and is therefore the most user friendly you can get.
Read more >
Squirrel.Windows - electron-builder
Squirrel.Windows target is maintained, but deprecated. Please use nsis instead. ... If you don't plan to build windows installer, you can omit it....
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 >
Electron-builder: A Complete Solution to Package & Build A ...
In today's post we will learn about Electron-builder: A complete solution to package & build a ready for distribution Electron app with “auto...
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