diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c7f0d76b..797fb930a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,8 @@ Main (unreleased) - Fix an issue where some `faro.receiver` would drop multiple fields defined in `payload.meta.browser`, as fields were defined in the struct. +- Added the `DisplayVersion` value to the Windows NSIS installer to simplify patch management for enterprise environments. (@charlygott) + ### Bugfixes - Fixed a bug in `import.git` which caused a `"non-fast-forward update"` error message. (@ptodev) diff --git a/packaging/windows/install_script.nsis b/packaging/windows/install_script.nsis index 8c3ad4c4e..49846dd63 100644 --- a/packaging/windows/install_script.nsis +++ b/packaging/windows/install_script.nsis @@ -82,6 +82,7 @@ Section "install" # the current installed version. !define UNINSTALLKEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" WriteRegStr HKLM "${UNINSTALLKEY}" "DisplayName" '${APPNAME} ${VERSION}' + WriteRegStr HKLM "${UNINSTALLKEY}" "DisplayVersion" '${VERSION}' WriteRegStr HKLM "${UNINSTALLKEY}" "UninstallString" '"$INSTDIR\uninstall.exe"' WriteRegStr HKLM "${UNINSTALLKEY}" "QuietUninstallString" '"$INSTDIR\uninstall.exe" /S' WriteRegStr HKLM "${UNINSTALLKEY}" "InstallLocation" '"$INSTDIR"'