Skip to content

Commit 9e7e927

Browse files
authored
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.
1 parent d06043f commit 9e7e927

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ms-windows/QGIS-Installer.nsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ Section "QGIS" SecQGIS
347347
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${QGIS_BASE}" "HelpLink" "${WIKI_PAGE}"
348348
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${QGIS_BASE}" "URLInfoAbout" "${WEB_SITE}"
349349
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${QGIS_BASE}" "Publisher" "${PUBLISHER}"
350+
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${QGIS_BASE}" "DisplayVersion" "${VERSION_NUMBER}"
350351

351352
;Create the Desktop Shortcut
352353
SetShellVarContext current

0 commit comments

Comments
 (0)