Skip to content

Commit fe6a0ce

Browse files
committed
Restore $regKey on install.ps1
1 parent da12a5b commit fe6a0ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/buildscripts/packaging/installer/install.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,7 @@ if ($with_dotnet_instrumentation) {
687687
echo "Installing SignalFx Dotnet Auto Instrumentation..."
688688
Install-SignalFxDotnet
689689

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

0 commit comments

Comments
 (0)