mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 20:23:25 +00:00
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>
This commit is contained in:
parent
19bebeeb3a
commit
72636deee3
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue