Commands for installing Due2 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 myiam.Due2 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id myiam.Due2 -e --silentwinget uninstall --id myiam.Due2 -e --silentBy installer
64-bit · EXE (Inno Setup) · Current user · en-US
Silent install
due2-2.7.4-windows-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
due2-2.7.4-windows-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\due2"- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B8F2E3A1-5C7D-4E9F-A6B0-1D2E3F4A5B6C}_is1
- Install folder
- %LocalAppData%\Programs\Due2
- DisplayVersion
- 2.7.4
ARM64 · EXE (Inno Setup) · Current user · en-US
Silent install
due2-2.7.4-windows-arm64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
due2-2.7.4-windows-arm64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\due2"- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B8F2E3A1-5C7D-4E9F-A6B0-1D2E3F4A5B6C}_is1
- Install folder
- %LocalAppData%\Programs\Due2
- DisplayVersion
- 2.7.4
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-due2.ps1
$url = 'https://github.com/due2-app/due2-releases/releases/download/due2-v2.7.4/due2-2.7.4-windows-x64-setup.exe'
$sha256 = 'EFB8614B0B174BE03958EFB56136605F3764FA2BD1719F991CA1C1AF955127EA'
$file = Join-Path $env:TEMP 'due2-2.7.4-windows-x64-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-due2.ps1
$url = 'https://github.com/due2-app/due2-releases/releases/download/due2-v2.7.4/due2-2.7.4-windows-arm64-setup.exe'
$sha256 = '6349A8CB996F8DD830E7AD85385292C43E1EF64DEDF1CE5A16A0277E4D640A28'
$file = Join-Path $env:TEMP 'due2-2.7.4-windows-arm64-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