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 <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Lubomir I. Ivanov 2011-10-31 03:53:37 +02:00 committed by Dirk Hohndel
parent 5076397df0
commit 904f1ad4c5

View file

@ -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