From 72636deee304598f04599803ce2bb67e03ab1ace Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Wed, 15 May 2013 18:50:34 +0300 Subject: Windows installer: append the package version to registry On installation, set the "DisplayVersion" registry value to ${SUBSURFACE_VERSION}, so that a version is displayed when browsing the list of installed programs. Signed-off-by: Lubomir I. Ivanov Signed-off-by: Dirk Hohndel --- packaging/windows/subsurface.nsi.in | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3-70-g09d2