-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Differentiate Uninstall from Update (NSIS) #1092
Comments
This can be resolved by wrapping any such code in:
I realise my initial request is unreasonable, as you would need to define when customUpdate would be called. (It would likely be called at the end of an install, not during during the installation phase). |
You can detect is it auto update —
|
PR welcome ;) |
hey I know its far from late but can you share your script? Iam getting the exact problem of deleting items even on update on my script as well |
10.5.0
NSIS
Ive created a custom NSIS script to prompt the user as to whether or not to remove the User Data.
I used the 'customUnInstall' macro.
However when updating the application, customUninstall macro is called. Which results in the user being asked if it wants to wipe user data when updating.
Instead a customUpdate macro should be called.
Related: #528 #885
The text was updated successfully, but these errors were encountered: