Commands for installing OneCommander 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 MilosParipovic.OneCommander -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id MilosParipovic.OneCommander -e --silentwinget uninstall --id MilosParipovic.OneCommander -e --silentBy installer
64-bit · MSI · All users
Silent install
msiexec /i OneCommanderSetup3.108.0.0.msi /qn /norestartWrite a log
msiexec /i OneCommanderSetup3.108.0.0.msi /qn /norestart /l*v "%TEMP%\onecommander-install.log"Uninstall
msiexec /x {EB4460E4-348E-490A-A2F6-6DFFD2C47C7B} /qn /norestart- MSI product code
- {EB4460E4-348E-490A-A2F6-6DFFD2C47C7B}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{EB4460E4-348E-490A-A2F6-6DFFD2C47C7B}
- UpgradeCode
- {E2AFC434-3689-40B9-B3DB-A1D80FDDA478}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-onecommander.ps1
$url = 'https://onecommander.com/OneCommanderSetup3.108.0.0.msi'
$sha256 = 'FDC57E58231C166E22176F3421F05C5336FC377CCFA21AA1C96A121439B62E0D'
$file = Join-Path $env:TEMP 'OneCommanderSetup3.108.0.0.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