From 7c9ee865bac38bc17c0f57a33b9c5560f21ab53e Mon Sep 17 00:00:00 2001 From: William Dumont Date: Thu, 26 Sep 2024 16:38:50 +0200 Subject: [PATCH] fix win registry --- CHANGELOG.md | 7 +++++++ packaging/grafana-agent-flow/windows/install_script.nsis | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e58932aba3ba..07a424ddbead 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,13 @@ This document contains a historical list of changes between releases. Only changes that impact end-user behavior are listed; changes to documentation or internal API changes are not present. +v0.43.3 (2024-09-26) +------------------------- + +### Bugfixes + +- Windows installer: Don't quote Alloy's binary path in the Windows Registry. (@jkroepke) + v0.43.2 (2024-09-25) ------------------------- diff --git a/packaging/grafana-agent-flow/windows/install_script.nsis b/packaging/grafana-agent-flow/windows/install_script.nsis index 7df80ab40d34..0070f1a14d74 100644 --- a/packaging/grafana-agent-flow/windows/install_script.nsis +++ b/packaging/grafana-agent-flow/windows/install_script.nsis @@ -135,7 +135,7 @@ Function InitializeRegistry nsExec::ExecToLog 'Reg.exe query "${REGKEY}" /reg:64 /ve' Pop $0 ${If} $0 == 1 - nsExec::ExecToLog 'Reg.exe add "${REGKEY}" /reg:64 /ve /d "\"$INSTDIR\grafana-agent-flow-windows-amd64.exe\""' + nsExec::ExecToLog 'Reg.exe add "${REGKEY}" /reg:64 /ve /d "$INSTDIR\grafana-agent-flow-windows-amd64.exe"' Pop $0 # Ignore return result ${EndIf}