Skip to content

Commit

Permalink
fix registry windows path (#7044)
Browse files Browse the repository at this point in the history
  • Loading branch information
wildum authored Sep 26, 2024
1 parent 93fb1c1 commit 9ee5d82
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ internal API changes are not present.
Main (unreleased)
-----------------

### Bugfixes

- Windows installer: Don't quote Alloy's binary path in the Windows Registry. (@jkroepke)

v0.43.2 (2024-09-25)
-------------------------

Expand Down
2 changes: 1 addition & 1 deletion packaging/grafana-agent-flow/windows/install_script.nsis
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down

0 comments on commit 9ee5d82

Please sign in to comment.