Skip to content

Commit

Permalink
Restore $regKey on install.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
pjanotti committed Nov 18, 2023
1 parent 21fee90 commit 9647687
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/buildscripts/packaging/installer/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,7 @@ if ($with_dotnet_instrumentation) {
echo "Installing SignalFx Dotnet Auto Instrumentation..."
Install-SignalFxDotnet

$regkey = "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment"
if ($deployment_env -ne "") {
echo "Setting SIGNALFX_ENV environment variable to $deployment_env ..."
update_registry -path "$regkey" -name "SIGNALFX_ENV" -value "$deployment_env"
Expand Down

0 comments on commit 9647687

Please sign in to comment.