You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
!macro customUnInstall
; remove the scheduled task + registry
!macroend
I'm using electron-updater to check and install new updates in my app, but I have a small issue regarding the above configs: when a new update is installed the appData is not removed (which is ok), but the uninstall.nsh is called (which is bad).
Is there a way to call uninstall.nsh just when the app is uninstalled manually and not on updates (just as the behavior for appData) ?
The text was updated successfully, but these errors were encountered:
Note — we are not going to simplify and introduce yet another macro, because this feature ONLY for those, who understand what they are doing. And so, additional level of magic is not acceptable. I have added note to doc about ${isUpdated} and customUnInstall.
Electron-builder: 19.56.2
Electron-updater: ^3.0.1
Target: Windows
Build config:
Uninstall.nsh:
I'm using electron-updater to check and install new updates in my app, but I have a small issue regarding the above configs: when a new update is installed the
appData
is not removed (which is ok), but theuninstall.nsh
is called (which is bad).Is there a way to call
uninstall.nsh
just when the app is uninstalled manually and not on updates (just as the behavior forappData
) ?The text was updated successfully, but these errors were encountered: