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.

Resulting Setup.msi exits without any warning

See original GitHub issue

I’m packing my electron app with electron-builder on Windows 7 x64. But when I try to execute resulting dist\win-x64\Setup.msi the installation process just exits without any message. How can I debug what goes wrong? I tried to make my application “Squirrel Aware” just by copying code from http://www.mylifeforthecode.com/creating-a-windows-distribution-of-an-electron-app-using-squirrel/ but no luck (maybe it’s outdated). Also when I try another way and run dist\win-x64\MyApp-0.1.0.exe the application starts but I can’t find whether application files were copied anywhere. And application state is not saved too. Application state and settings are intended to be stored at the settings.json which my application tries to create after settings changed or before exit. But when I run packaged MyApp-0.1.0.exe it “installs” again and no state is saved.

Am I asking the question at the wrong place? Should I create issue at electron-packager repo instead? I have zero experience with Squirrel installers and lack of documentation exhausts me. Also packaging process is too long for understanding through experiments.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
develarcommented, Mar 16, 2016

Also packaging process is too long for understanding through experiments.

Consider to:

0reactions
d9kcommented, Mar 25, 2016

moved problems with arguments to separate issue https://github.com/electron-userland/electron-builder/issues/267

Read more comments on GitHub >

github_iconTop Results From Across the Web

MSI installation error 1603 - Windows Server - Microsoft Learn
Provides solutions to the error 1603 that occurs when you install a Windows Installer package.
Read more >
Installer exits without any warning or message - InstallAware
HI, I have a weird issue with my installaware setup on a XP SP3 O.S. When i launch my installer, the setup load...
Read more >
Clarify msi vs exe difference #40 - electron/windows-installer
I'm having hard time trying to understand why there is a msi package... It get generated but when I run it, the installer...
Read more >
Build Errors and Warnings - Revenera Product Documentation
Warning building Windows Installer package. This error occurs if a latest image in the Patch Design view does not have at least one...
Read more >
Stop the installation from a custom action - Stack Overflow
If I return a value other than 0 from exe it terminate the installation. But it shows an error. I need to exit...
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