-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NSIS script #583
Comments
Ability to pass own nsis script? Will be implemented. |
Exactly. It would be very useful. |
1-4 days. |
how do you register a custom scheme with nsis btw, @giacgbj? (sorry, offtopic!) |
@atypicalprogrammer You have to write a registry entry according to https://msdn.microsoft.com/en-us/library/aa767914(v=vs.85).aspx following these samples http://nsis.sourceforge.net/Reading_and_Writing_the_Registry_-_NSIS_makes_it_easy . |
Upvoting this to the max. I have to ship a 3rd party installer along with my app. With electron-boilerplate I was able to use a custom NSIS script to run the 3rd party installer from within the NSIS installer. |
We don't yet support specifying custom script, but allows you to customise without a headache. As I don't have time to finish docs yet, draft here:
Pre-release version will be in a hour. |
I tried following the instructions develar gave above, but it didn't work for me. See: #623 (comment) Update: Apparently URL schemes in windows only work on |
@joshua-smith : I set perMachine : true and nsh script still not writing register key after installation process !! installer.nsh
package.json`{
} |
My installer.nsh is pretty much just like yours, except I have line breaks. I assume that's just a formatting glitch here. It's working for me, but I'm on a very, very old version of electron-builder because it's working just fine for me and I've had no reason to update. Try putting a syntax error into the installer.nsh file and see if it's actually reading it. |
@mrjoshuaesmith |
I’m all the way back at 6.7.7
|
Would it be possible to use a NSIS script instead of waiting for a mapping of the (many) options NSIS has?
For example, I'd need a way to register a custom scheme during the installation phase on Windows.
The text was updated successfully, but these errors were encountered: