Skip to content

Commit 100d940

Browse files
committedMay 9, 2018
NSIS: Include DisplayVersion in UninstallKey
(backport e3a7804931 & 9e7e927)
1 parent e85740c commit 100d940

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

342342
;HKEY_LOCAL_MACHINE Uninstall entries
343343
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${QGIS_BASE}" "DisplayName" "${DISPLAYED_NAME}"
344+
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${QGIS_BASE}" "DisplayVersion" "${VERSION_NUMBER}"
344345
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${QGIS_BASE}" "UninstallString" "$INSTALL_DIR\uninstall.exe"
345346
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${QGIS_BASE}" "DisplayIcon" "$INSTALL_DIR\icons\QGIS.ico"
346347
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${QGIS_BASE}" "EstimatedSize" 1

0 commit comments

Comments
 (0)
Please sign in to comment.