2

We have our desktop app (windows) built in electron. On most of the system, it gets installed perfect. But in some computers, specially windows 7, user gets prompt to install .net 4.5 before installing software. Most of the case, installing this works fine. But in some case, user wont be able to install .net 4.5 since newer version of .net is installed in their system. In that case, we need to do remote connection to their PC and uninstall previous version and install new version with some tweak..i.e, stoping WuAuServ, and something with softwareDistribution and starting WuAuServ again.

It seems its requirement for apps built with electron.

I was wondering if even slack faces the same issue while installing. If not then can somebody guide me on what am i doing wrong?

Ishwar Rimal
  • 1,071
  • 11
  • 19
  • 2
    Are you sure it is your Electron app that requires net framework? As far as I know Electron have no such dependency. Could it be your installer or some other prerequisite? What are you using to generate the installer? – Karl-Johan Sjögren Jul 25 '17 at 08:09
  • Hi, thanks for your quick reply. I am using 'electron-winstaller' for creating installer. Using 'electron-squirrel-startup' for installation and update processes. – Ishwar Rimal Jul 25 '17 at 08:10
  • 1
    Then that's your problem, Squirrel needs net framework. Your Electron app probably doesn't (unless you've used some weird npm packages) so I would raise this problem on [electron-winstallers issue tracker](https://github.com/Aluxian/electron-windows-installer/issues) (or possibly electron-squirell-startup) to see if this is a known problem. – Karl-Johan Sjögren Jul 25 '17 at 08:21
  • Thanks.. I have raised an issue both in electron-squirrel-startup and electron-winstaller. Hope i get some good solution. – Ishwar Rimal Jul 25 '17 at 09:30
  • @Karl-JohanSjögren can you please help me out with creating an installer. I am trying to do with electron-builderand i am using nsis, but i cannot find any option for remote release where i can give the url of my previous version to generate delta package. How can i achieve this? – Ishwar Rimal Jul 26 '17 at 11:35
  • Sorry, I've never done delta updates with any installer packages. I just redistribute the whole application with each release. – Karl-Johan Sjögren Jul 26 '17 at 16:18
  • Thank you, i was wondering if slack also does the same? – Ishwar Rimal Jul 27 '17 at 06:12
  • I have no idea how they manage updates to their client, that would be something you'd have to ask the developers about. – Karl-Johan Sjögren Jul 27 '17 at 08:02
  • @Karl-JohanSjögren Thanks. – Ishwar Rimal Nov 15 '17 at 11:39
  • I haven't done with this electron specifically, but InnoSetup is a super installer. It's just that though, an installer. Updates are a different thing, but two main approaches come to mind: there's an n package (or maybe multiple) for doing electron updates, and there are also various binary patch tools around as well. – Andrew E Aug 18 '20 at 13:01

0 Answers0