summaryrefslogtreecommitdiffstats
path: root/packaging/windows/subsurface.nsi.in
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/windows/subsurface.nsi.in')
-rw-r--r--packaging/windows/subsurface.nsi.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/windows/subsurface.nsi.in b/packaging/windows/subsurface.nsi.in
index 1ac0753e6..34566dd7c 100644
--- a/packaging/windows/subsurface.nsi.in
+++ b/packaging/windows/subsurface.nsi.in
@@ -167,6 +167,8 @@ Section
"DisplayIcon" "$INSTDIR\subsurface.ico"
WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\Subsurface" \
"UninstallString" "$INSTDIR\Uninstall.exe"
+ WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\Subsurface" \
+ "DisplayVersion" ${SUBSURFACE_VERSION}
SectionEnd