From 940f2d60c230d56b0fbcfb0d27739f5e1e2ed03a Mon Sep 17 00:00:00 2001 From: Paulo Janotti Date: Sat, 8 Mar 2025 11:05:31 -0800 Subject: [PATCH] Fix copy and paste error --- .../assets/windows_x86_64/bin/installer-wrapper.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/dotnet-instr-deployer-add-on/assets/windows_x86_64/bin/installer-wrapper.ps1 b/packaging/dotnet-instr-deployer-add-on/assets/windows_x86_64/bin/installer-wrapper.ps1 index 3364bdd0fe..4f5ce95e68 100644 --- a/packaging/dotnet-instr-deployer-add-on/assets/windows_x86_64/bin/installer-wrapper.ps1 +++ b/packaging/dotnet-instr-deployer-add-on/assets/windows_x86_64/bin/installer-wrapper.ps1 @@ -49,7 +49,7 @@ if ($uninstall) { Write-Host "Installing Splunk Distribution of OpenTelemetry .NET ..." # Avoid issues with NGEN assemblies by forcing SingleDomain mode. - RUN Set-ItemProperty -Path "HKLM:\\SOFTWARE\\Microsoft\\.NETFramework" -Name "LoaderOptimization" -Value 1 -Type DWord + Set-ItemProperty -Path "HKLM:\\SOFTWARE\\Microsoft\\.NETFramework" -Name "LoaderOptimization" -Value 1 -Type DWord $zipPath = Join-Path $scriptDir "splunk-opentelemetry-dotnet-windows.zip" Install-OpenTelemetryCore -LocalPath $zipPath