Electron-builder: Pb with nsis custom script

Created on 21 Dec 2017  路  5Comments  路  Source: electron-userland/electron-builder


  • Version: 19.49.2

  • Target: Win32, on MacOSX High Sierra

Hi

I try to use a custom script for nsis, using script option.
I have a pb, the nsis build is in error : File: "${UNINSTALLER_OUT_FILE}" -> no files found.

I have not the UNINSTALLER_OUT_FILE in my scripts (i have copied the nsis template and replaced reference to ${UNINSTALLER_OUT_FILE} by uninstall.exe)

I think the pb is that using makensis,current path is in electron-builder nsis template, so makensis is using official scripts, not my script

Here are the logs :

nsis.log

J茅r茅mie

backlog nsis reply-needed

Most helpful comment

Hi,

Sorry for the late answer. No I did not.
Is there any evolutions on this issue ?

All 5 comments

Please provide your custom script. Consider to use custom macro instead of script.

Hi

As I said, i have just took the template nsis script from electron builder and replaced UNINSTALLER_OUT_FILE with uninstall.exe. Here is the archive of the script

I reference it in my package.json : "script": "./nsis/installer.nsi"
nsis.zip

Thanks
Jeremie

did you manage to get it working? i'm having the same issue... can't seem to figure it out

Hi,

Sorry for the late answer. No I did not.
Is there any evolutions on this issue ?

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