diff --git a/internal/buildscripts/packaging/installer/install.ps1 b/internal/buildscripts/packaging/installer/install.ps1 index 427a40d8c3..a1c8f5132f 100644 --- a/internal/buildscripts/packaging/installer/install.ps1 +++ b/internal/buildscripts/packaging/installer/install.ps1 @@ -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"