2
votes

I'm using Electron-Builder NSIS to bundle my Electron app. When running the bundle/executable, the app installs AND auto-launches. How do you prevent the app from auto-launching? Basically trying to do a silent install that can be run in a batch from the command line.

1
@SarelFoyerlicht I agree with your answer although answering in comments isn't really good so could you delete your comment and post it as a answer instead? - Joshua

1 Answers

5
votes

In the Electron-Builder NSIS doc(the link you post):

runAfterFinish = true Boolean - Whether to run the installed application after finish. For assisted installer corresponding checkbox will be removed.