diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2013-05-15 18:50:34 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-15 17:35:52 -0400 |
commit | 72636deee304598f04599803ce2bb67e03ab1ace (patch) | |
tree | 0a91342cdb3c49c19a85587774bdaa2aa455640f /packaging | |
parent | 19bebeeb3a2aff843b30dcfb4f80260bc1c16a05 (diff) | |
download | subsurface-72636deee304598f04599803ce2bb67e03ab1ace.tar.gz |
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 <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/windows/subsurface.nsi.in | 2 |
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 |