Commands for installing QOps 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 DVSTSEOOD.QOps -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DVSTSEOOD.QOps -e --silentwinget uninstall --id DVSTSEOOD.QOps -e --silentBy installer
64-bit · MSI · en-US
Silent install
msiexec /i QOpsModule.msi /qn /norestartWrite a log
msiexec /i QOpsModule.msi /qn /norestart /l*v "%TEMP%\qops-install.log"Uninstall
msiexec /x {3655F00B-962A-4AB9-B6D5-5176512E70C3} /qn /norestart- MSI product code
- {3655F00B-962A-4AB9-B6D5-5176512E70C3}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3655F00B-962A-4AB9-B6D5-5176512E70C3}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-qops.ps1
$url = 'https://raw.githubusercontent.com/qops-hub/WinGet/main/QOpsModule.msi'
$sha256 = 'A855F658947509E7CD0462D87771D0CF2702677C40DA0307FA13A8C13B44DE02'
$file = Join-Path $env:TEMP 'QOpsModule.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