Commands for installing Compose for Windows 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 Coises.ComposeForWindows -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Coises.ComposeForWindows -e --silentwinget uninstall --id Coises.ComposeForWindows -e --silentBy installer
32-bit · EXE (Inno Setup) · Current user · en-US
Silent install
Compose-for-Windows-1.1.1-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
Compose-for-Windows-1.1.1-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\compose-for-windows"- Uninstall registry key
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{F80EF35F-AFD7-4951-A34A-68B05353EEBA}_is1
32-bit · EXE (Inno Setup) · All users · en-US
Silent install
Compose-for-Windows-1.1.1-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
Compose-for-Windows-1.1.1-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\compose-for-windows"- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{F80EF35F-AFD7-4951-A34A-68B05353EEBA}_is1
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-compose-for-windows.ps1
$url = 'https://github.com/Coises/Compose-for-Windows/releases/download/v1.1.1/Compose-for-Windows-1.1.1-setup.exe'
$sha256 = '04C1F7EE112AEE07E6BB0158EC0338F43A5E185F4A2A12AFF41E9C91D78637AC'
$file = Join-Path $env:TEMP 'Compose-for-Windows-1.1.1-setup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-compose-for-windows.ps1
$url = 'https://github.com/Coises/Compose-for-Windows/releases/download/v1.1.1/Compose-for-Windows-1.1.1-setup.exe'
$sha256 = '04C1F7EE112AEE07E6BB0158EC0338F43A5E185F4A2A12AFF41E9C91D78637AC'
$file = Join-Path $env:TEMP 'Compose-for-Windows-1.1.1-setup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait