Commands for installing Corral 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 CaptainVII.Corral -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id CaptainVII.Corral -e --silentwinget uninstall --id CaptainVII.Corral -e --silentBy installer
64-bit · MSI · All users
Silent install
msiexec /i Corral.msi /qn /norestartWrite a log
msiexec /i Corral.msi /qn /norestart /l*v "%TEMP%\corral-install.log"Uninstall
msiexec /x {07534F50-F0F4-4AC3-A804-272130E3B7EA} /qn /norestart- MSI product code
- {07534F50-F0F4-4AC3-A804-272130E3B7EA}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{07534F50-F0F4-4AC3-A804-272130E3B7EA}
- UpgradeCode
- {31D4CBD5-E6DE-4F73-A8C0-4205DD50BBB3}
ARM64 · MSI · All users
Silent install
msiexec /i Corral-arm64.msi /qn /norestartWrite a log
msiexec /i Corral-arm64.msi /qn /norestart /l*v "%TEMP%\corral-install.log"Uninstall
msiexec /x {F0ABAAD2-7EFB-47AB-BF57-125ABC5B6458} /qn /norestart- MSI product code
- {F0ABAAD2-7EFB-47AB-BF57-125ABC5B6458}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F0ABAAD2-7EFB-47AB-BF57-125ABC5B6458}
- UpgradeCode
- {31D4CBD5-E6DE-4F73-A8C0-4205DD50BBB3}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-corral.ps1
$url = 'https://github.com/Captain-VII/Corral/releases/download/v3.4.0/Corral.msi'
$sha256 = '541074D15EAA9F2087B425A38DC7B2C601A81FE9444553A87CF4F9A1EFE34172'
$file = Join-Path $env:TEMP 'Corral.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 install-corral.ps1
$url = 'https://github.com/Captain-VII/Corral/releases/download/v3.4.0/Corral-arm64.msi'
$sha256 = 'DAF35869CB064FC4DBD95ABFC05D6021AC6C7674D7C0D46309058E55A650E095'
$file = Join-Path $env:TEMP 'Corral-arm64.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