Electron-builder: nsis installer just sits there and does nothing

Created on 5 Jun 2019  路  9Comments  路  Source: electron-userland/electron-builder

electron-builder version: 20.43.0

electron-updater version: 4.0.6

electron version: 4.2.3

I am creating nsis installer for windows using electron-builder. The build command 'build -p always --x64 --ia32' is successful and the installer exe is generated.

But when I run the installer, it just sits there and does absolutely nothing.

With version 19.46.9 of the electron-builder it used to work perfectly fine. Started seeing the issue only after the upgrade to 20.43.0

backlog

All 9 comments

Hi @develar , Any clue as to what could be going wrong? There is a similar issue #3939 reported for Linux

Worked when I downgrade version to
electron version: 4.2.3
electron-builder version: 19.46.9

Thanks for the update @byAbaddon !

@byAbaddon @snene experiencing similar issues on my end. how did you down grade? Was it just updating the package.json or downgrading the docker image? Please post steps. Thank you!

@javierforero Yes, you can downgrade by updating the package.json.

@byAbaddon @javierforero I don't know exactly how but I created a new terminal window and then ran the command to build the app again and it suddenly started working. So try that or may be just try restarting your system.

@javierforero
One day i lost to play why this app not work.
I saw post on @snene and attempted to back old version on electron
on 4.2.3 and electron-builder on 19.46.9.
1) I deleted node_modules folder. ( BACKUP folder before delete !!!)
2) set package.joson
"devDependencies": {
"electron": "^4.2.3",
"electron-builder": "^19.46.9"
}
"scripts": { "package": "electron-builder" }
3)npm install
4)npm run package
building sucsess and app start!
This work for me!

@byAbaddon thanks. Will try that. I am currently using the docker wine image to automate this process and it just doesn't seem to work with the latest electron-builder

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings