mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Custom NSIS script included in electron.manifest.json, still not getting expected output #936
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AjayKarthik2k on GitHub (Feb 15, 2024).
I am using ElectronNET to create an desktop application from my dotnet react project. My primary aim is to backup the application if I am going to update to a newer version, and as per the docs which says that we can include a custom nsis script to customize the installer.
To check this feature I prepared an example script by seeing the electron builder docs.
My script looks like this :

My build section in electron.manifest.json looks like this :

As per the script, I think that it should create files in the $PROJECT_DIR. But I am not getting anything. Am I missing something, or I am just not connecting the dots right?
Thanks in advance!
P.S : I am also confused about where these variables $BUILD_RESOURCES_DIR and $PROJECT_DIR point to
@FlorianRappl commented on GitHub (Oct 31, 2025):
Outdated - use
ElectronNET.CoreandElectronNET.Core.AspNet.See Wiki / What's New.