• /
  • EnglishEspañolFrançais日本語한국어Português
  • ログイン今すぐ開始

この機械翻訳は、参考として提供されています。

英語版と翻訳版に矛盾がある場合は、英語版が優先されます。詳細については、このページを参照してください。

問題を作成する

Windows MSIインストレーションがエラー1603で失敗する

重要

Infrastructureエージェント v1.73.0以降の既知の問題: Windowsグループポリシーの制限があるシステムでは、MSIインストレーションがエラー1603で失敗する場合があります。

問題

  • v1.72.xではインストレーションに成功しましたが、v1.73.0以降では失敗します
  • 堅牢化された、またはCISに準拠したWindowsシステムで発生します
  • サービスnewrelic-infraが作成されません

原因

infrastructureエージェントv1.73.0以降では、インストレーションに遅延PowerShellカスタムアクションを使用します。Windowsグループポリシー設定HKLM\SOFTWARE\Policies\Microsoft\Windows\Installer\DisableMSI1または2に設定されている場合)は、セキュリティ上の理由からこれらのアクションをブロックします。

解決

インストレーション中はMSI制限を一時的に無効にします:

# Store original value
$regPath = "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Installer"
$origValue = (Get-ItemProperty -Path $regPath -Name DisableMSI -ErrorAction SilentlyContinue).DisableMSI
try {
# Temporarily allow MSI custom actions
if (-not (Test-Path $regPath)) {
New-Item -Path $regPath -Force | Out-Null
}
Set-ItemProperty -Path $regPath -Name DisableMSI -Value 0 -Type DWord -Force
# Run the installation
msiexec.exe /qn /i PATH\TO\newrelic-infra.msi GENERATE_CONFIG=true LICENSE_KEY=YOUR_LICENSE_KEY
} finally {
# Restore original value
if ($null -ne $origValue) {
Set-ItemProperty -Path $regPath -Name DisableMSI -Value $origValue -Type DWord -Force
} else {
Remove-ItemProperty -Path $regPath -Name DisableMSI -ErrorAction SilentlyContinue
}
}

このPowerShellスクリプトを実行して、DisableMSIポリシーが問題を引き起こすかどうかを確認します:

$regPath = "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Installer"
$disableMsi = (Get-ItemProperty -Path $regPath -Name DisableMSI -ErrorAction SilentlyContinue).DisableMSI
if ($null -eq $disableMsi -or $disableMsi -eq 0) {
Write-Host "DisableMSI not set or set to 0 - Installation should work"
} else {
Write-Host "WARNING: DisableMSI is set to $disableMsi - Installation will likely fail with error 1603"
Write-Host "Use the workaround above to install successfully"
}
Copyright © 2026 New Relic株式会社。

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.