Skip to content
Permalink
Browse files

Add DisplayVersion value in Uninstallkey

The DisplayVersion value in Uninstallkey registry hive (Software\Microsoft\Windows\CurrentVersion\Uninstall) is mandatory for deployment software, it allows them to check quickly from standard registry path the currently installed version.

The VersionNumber value is already stored in Software\QGIS (version)\ hive but that's not a standard for deployment solutions.
  • Loading branch information
agauvrit-tis committed May 9, 2018
1 parent d06043f commit 9e7e927b9cac46a8bec58b2c61103f4a2ad70896
Showing with 1 addition and 0 deletions.
  1. +1 −0 ms-windows/QGIS-Installer.nsi
@@ -347,6 +347,7 @@ Section "QGIS" SecQGIS
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${QGIS_BASE}" "HelpLink" "${WIKI_PAGE}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${QGIS_BASE}" "URLInfoAbout" "${WEB_SITE}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${QGIS_BASE}" "Publisher" "${PUBLISHER}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${QGIS_BASE}" "DisplayVersion" "${VERSION_NUMBER}"

;Create the Desktop Shortcut
SetShellVarContext current

0 comments on commit 9e7e927

Please sign in to comment.
You can’t perform that action at this time.