I've got a powershell script that does some uninstall cleanup, but if I try to execute it during customUnInstall the script as already been removed.
I found found in the templates that the uninstall macro is called after most of the install files have been deleted.
|
!ifmacrodef customUnInstall |
|
!insertmacro customUnInstall |
|
!endif |
Would it make sense to add separate uninstall macro that runs before the bulk of the uninstall work? Or am I misguided, and I should just copy my powershell script somewhere that won't get removed automatically?
I've got a powershell script that does some uninstall cleanup, but if I try to execute it during
customUnInstallthe script as already been removed.I found found in the templates that the uninstall macro is called after most of the install files have been deleted.
electron-builder/packages/app-builder-lib/templates/nsis/uninstaller.nsh
Lines 114 to 116 in 661a652
Would it make sense to add separate uninstall macro that runs before the bulk of the uninstall work? Or am I misguided, and I should just copy my powershell script somewhere that won't get removed automatically?