From 904f1ad4c56b8987d2efd9f2efdd9951bf9e8eab Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Mon, 31 Oct 2011 03:53:37 +0200 Subject: win32/nsi: added confirmation to store registry settings a yes/no dialog to clear or store data in HKCU "SOFTWARE\subsurface" "Do you wish to store subsurface's settings?" fixed small whitespace issue Signed-off-by: Lubomir I. Ivanov Signed-off-by: Dirk Hohndel --- packaging/windows/subsurface.nsi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'packaging') 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 -- cgit v1.2.3-70-g09d2