Commands for installing DiscWright 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 DiscWright.DiscWright -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DiscWright.DiscWright -e --silentwinget uninstall --id DiscWright.DiscWright -e --silentBy installer
Any CPU · EXE (Inno Setup) · Current user · en-US
Silent install
DiscWright-0.10.0-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
DiscWright-0.10.0-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\discwright"- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{20F71A81-9D66-445E-BDC3-394B940F190E}_is1
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-discwright.ps1
$url = 'https://github.com/lazardjokovic/discwright/releases/download/v0.10.0/DiscWright-0.10.0-setup.exe'
$sha256 = 'D4863B832F7C3153C35D733921A69C063362DC29F07437BC27B3CBEF3E642C98'
$file = Join-Path $env:TEMP 'DiscWright-0.10.0-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