- Electron Version: 11.1.0
- Electron Type (current, beta, nightly): current
I have created a electron desktop app and created a installer using electron-builder.
Now I want to try macro like customInstall and customUnInstall
My installer.nsh file is
!macro customInstall
MessageBox MB_OK "Test output 1"
!macroend
!macro customUnInstall
MessageBox MB_OK "Test output 2"
!macroend
My electron-builder config is
"build": {
"nsis": {
"include": "installer.nsh"
},
"mac": {
"icon": "build/icon.png"
},
"win": {
"icon": "build/icon.png"
}
}
But this is not working for me.
What I am missing to make it working?
I have created a electron desktop app and created a installer using electron-builder.
Now I want to try macro like
customInstallandcustomUnInstallMy
installer.nshfile isMy
electron-builderconfig isBut this is not working for me.
What I am missing to make it working?