Commands for installing Microsoft Report Builder without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With winget
PowerShell
winget install --id Microsoft.ReportBuilder -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.ReportBuilder -e --silentwinget uninstall --id Microsoft.ReportBuilder -e --silentBy installer
64-bit · MSI · en-US
Silent install
msiexec /i ReportBuilder.msi /qn /norestartWrite a log
msiexec /i ReportBuilder.msi /qn /norestart /l*v "%TEMP%\microsoft-report-builder-install.log"Uninstall
msiexec /x {2A6CA408-009B-407F-9CBB-8EF5640F75B5} /qn /norestart- MSI product code
- {2A6CA408-009B-407F-9CBB-8EF5640F75B5}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2A6CA408-009B-407F-9CBB-8EF5640F75B5}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-microsoft-report-builder.ps1
$url = 'https://download.microsoft.com/download/5/E/B/5EB40744-DC0A-47C0-8B0A-1830E74D3C23/ReportBuilder.msi'
$sha256 = '77EFD0D45ED03DB04501A1561A431C60BC69DEFA8F9A730EBFD5916EC6BF2469'
$file = Join-Path $env:TEMP 'ReportBuilder.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait