[NSIS] `runAfterFinish: false` not working when `oneClick: true`
See original GitHub issue- Version:
20.14.7
- Target: NSIS
For quite some time I had:
oneClick: true,
runAfterFinish: false
as I want to build a simple installer but I need the app to not start at the end.
I see that from 20.13.5
the runAfterFinish(RUN_AFTER_FINISH)
is not taken into account: https://github.com/electron-userland/electron-builder/commit/edb82afd328e51fe736da92cd389b5061bdf6318
I did check the corresponding tasks for this PR but I do not get the picture what exactly was fixed there and whether removing runAfterFinish
was intended or not.
Anyway let me know if we can restore it, or how can I achieve the previous effect 🙂
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
NSIS - electron-builder
If oneClick is true (default): Whether to install per all users (per-machine). If oneClick is false and perMachine is true : no install...
Read more >Electron.js NSIS installer - "oneClick": false has no effect ...
I put the "nsis" options inside the "build" options and it worked.
Read more >Distributing Electron Applications : Building NSIS Installers
This playlist/video has been uploaded for Marketing purposes and contains only selective videos. For the entire video course and code, ...
Read more >package.json · ea456ff8840114e0ec65bc26b43f708a4d3d4708 ...
... "linux": { "icon": "build/icons" }, "nsis": { "oneClick": false, "allowToChangeInstallationDirectory": true, "perMachine": true, "runAfterFinish": false } ...
Read more >Source - GitHub
... /electron-userland/electron-builder/issues/1743) * **nsis:** option to not ... Features * **nsis:** NSIS with oneClick set to true does not relaunch the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
20.15.1
About the first issue, it gets stuck here:
await executeAppBuilder(["node-dep-tree", "--dir", platformPackager.info.appDir])
Probably this should not be invoked at all as I do not have
node_modules
at this point. Can I do a PR with a similar check fornode_modules
like we did here? (I guess I can just add it to this if)