Skip to content

Commit 5b20168

Browse files
committed
NSIS: Include DisplayVersion in UninstallKey (backport 100d940)
1 parent 7233b67 commit 5b20168

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
@@ -338,6 +338,7 @@ Section "QGIS" SecQGIS
338338

339339
;HKEY_LOCAL_MACHINE Uninstall entries
340340
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${QGIS_BASE}" "DisplayName" "${COMPLETE_NAME}"
341+
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${QGIS_BASE}" "DisplayVersion" "${VERSION_NUMBER}"
341342
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${QGIS_BASE}" "UninstallString" "$INSTALL_DIR\Uninstall-QGIS.exe"
342343
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${QGIS_BASE}" "DisplayIcon" "$INSTALL_DIR\icons\QGIS.ico"
343344
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${QGIS_BASE}" "EstimatedSize" 1

0 commit comments

Comments
 (0)