Skip to content
Permalink
Browse files

NSIS: Include DisplayVersion in UninstallKey

(backport e3a7804931 & 9e7e927)
  • Loading branch information
jef-n committed May 9, 2018
1 parent e85740c commit 100d9403b29bc97ff5adb582d225e176b21dfc6f
Showing with 1 addition and 0 deletions.
  1. +1 −0 ms-windows/QGIS-Installer.nsi
@@ -341,6 +341,7 @@ Section "QGIS" SecQGIS

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

0 comments on commit 100d940

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