summaryrefslogtreecommitdiffstats
path: root/packaging/windows
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/windows')
-rw-r--r--packaging/windows/subsurface.nsi5
1 files changed, 4 insertions, 1 deletions
diff --git a/packaging/windows/subsurface.nsi b/packaging/windows/subsurface.nsi
index 8595c419b..17b734f17 100644
--- a/packaging/windows/subsurface.nsi
+++ b/packaging/windows/subsurface.nsi
@@ -85,5 +85,8 @@ section "uninstall"
delete "$SMPROGRAMS\subsurface\uninstall-subsurface.lnk"
delete "$SMPROGRAMS\subsurface\subsurface.lnk"
RMDir "$SMPROGRAMS\subsurface"
-sectionEnd
+ MessageBox MB_YESNO "Do you wish to store subsurface's settings?" IDYES end
+ DeleteRegKey HKCU "SOFTWARE\subsurface"
+ end:
+sectionEnd