diff options
Diffstat (limited to 'packaging/windows/subsurface.nsi.in')
-rw-r--r-- | packaging/windows/subsurface.nsi.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packaging/windows/subsurface.nsi.in b/packaging/windows/subsurface.nsi.in index 822f4c05c..1ac0753e6 100644 --- a/packaging/windows/subsurface.nsi.in +++ b/packaging/windows/subsurface.nsi.in @@ -161,6 +161,13 @@ Section # Create the uninstaller WriteUninstaller "$INSTDIR\Uninstall.exe" + WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\Subsurface" \ + "DisplayName" "Subsurface" + WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\Subsurface" \ + "DisplayIcon" "$INSTDIR\subsurface.ico" + WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\Subsurface" \ + "UninstallString" "$INSTDIR\Uninstall.exe" + SectionEnd #-------------------------------- @@ -189,5 +196,6 @@ Section "Uninstall" # Remove registry entries DeleteRegKey /ifempty HKCU "Software\Subsurface" + DeleteRegKey HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\Subsurface" SectionEnd |