mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-17 20:16:16 +00:00
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:
parent
5076397df0
commit
904f1ad4c5
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue