diff --git a/CHANGELOG.md b/CHANGELOG.md index 35e69de435..ae8f6e2d31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,6 +37,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) + - SNMP exporter now supports labels in both `target` and `targets` parameters. (@mattdurham) - Add support for relative paths to `import.file`. This new functionality allows users to use `import.file` blocks in modules diff --git a/packaging/windows/install_script.nsis b/packaging/windows/install_script.nsis index 8c3ad4c4e7..49846dd636 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"'