Commands for installing IconEdit2 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 DmitryKozhinov.IconEdit2 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DmitryKozhinov.IconEdit2 -e --silentwinget uninstall --id DmitryKozhinov.IconEdit2 -e --silentBy installer
32-bit · EXE (Inno Setup) · Current user
Silent install
IconEdit2_Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
IconEdit2_Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\iconedit2"PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-iconedit2.ps1
$url = 'https://www.iconedit2.com/download/IconEdit2_Setup.exe'
$sha256 = '11830B52983815B5286CBC48474F1E24D113817D3EC2E145AB1A545361BB8C95'
$file = Join-Path $env:TEMP 'IconEdit2_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