We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adda4eb commit 31cfdb1Copy full SHA for 31cfdb1
1 file changed
tasks/infra/agent/integrationTests_windows.yml
@@ -1,8 +1,7 @@
1
- test_name: InfrastructureVersionPresentWindows
2
dockerfile_lines:
3
- ADD https://download.newrelic.com/infrastructure_agent/windows/newrelic-infra.msi newrelic-infra.msi
4
- - RUN $regPath = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Installer'; if (-not (Test-Path $regPath)) { New-Item -Path $regPath -Force | Out-Null }; Set-ItemProperty -Path $regPath -Name DisableMSI -Value 0 -Type DWord -Force
5
- - RUN $p = Start-Process msiexec.exe -ArgumentList '/qn','/i','newrelic-infra.msi','/l*v','C:\install.log' -Wait -PassThru; if (Test-Path C:\install.log) { Get-Content C:\install.log } else { Write-Host 'no MSI log produced' }; if ($null -ne $p.ExitCode -and $p.ExitCode -ne 0) { exit $p.ExitCode }
+ - RUN $p = Start-Process msiexec.exe -ArgumentList '/a','newrelic-infra.msi','/qn','TARGETDIR=C:\' -Wait -PassThru; if ($p.ExitCode -ne 0) { exit $p.ExitCode }
6
log_entry_expected:
7
- Info.*Infra/Agent/Version.*
8
log_entry_not_expected:
0 commit comments