Commands for installing SimpleCom 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 YaSuenag.SimpleCom -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id YaSuenag.SimpleCom -e --silentwinget uninstall --id YaSuenag.SimpleCom -e --silentBy installer
64-bit · MSI · und
Silent install
msiexec /i SimpleComInstaller-1.2.7.msi /qn /norestartWrite a log
msiexec /i SimpleComInstaller-1.2.7.msi /qn /norestart /l*v "%TEMP%\simplecom-install.log"Uninstall
msiexec /x {3B8ABC13-60A1-4DC5-BB5D-DF76090DACEE} /qn /norestart- MSI product code
- {3B8ABC13-60A1-4DC5-BB5D-DF76090DACEE}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3B8ABC13-60A1-4DC5-BB5D-DF76090DACEE}
- UpgradeCode
- {F33BE402-825E-46C8-8799-EF7E3AE9C357}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-simplecom.ps1
$url = 'https://github.com/YaSuenag/SimpleCom/releases/download/v1.2.7/SimpleComInstaller-1.2.7.msi'
$sha256 = 'A5E970C0B4840D8F5C57BFAE0825681E918947C96F0FB04650DA9246BAA3D345'
$file = Join-Path $env:TEMP 'SimpleComInstaller-1.2.7.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