Resulting Setup.msi exits without any warning
See original GitHub issueI’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:
- Created 8 years ago
- Comments:10 (4 by maintainers)
Top GitHub Comments
Consider to:
--arch x64
(oria32
))build.win.noMsi
totrue
. See https://github.com/loopline-systems/electron-builder#distributable-format-configurationmoved problems with arguments to separate issue https://github.com/electron-userland/electron-builder/issues/267