Príkazy na inštaláciu programu codeusagemonit bez otázok, na jeho odinštalovanie a na detekciu v nástrojoch na nasadzovanie. Príkaz je uvedený iba vtedy, keď je presne známy: z manifestu alebo zo zdokumentovaných parametrov technológie inštalátora.
Súvisiaci návod: Parametre tichej inštalácie: MSI, NSIS, Inno Setup · Odinštalovanie programu cez register alebo PowerShell
Cez winget
PowerShell
winget install --id fanchengliu.codeusagemonit -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id fanchengliu.codeusagemonit -e --silentwinget uninstall --id fanchengliu.codeusagemonit -e --silentPodľa inštalátora
64-bit · EXE (Inno Setup) · Aktuálny používateľ
Tichá inštalácia
codeusagemonit-setup-1.0.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Vlastný priečinok
codeusagemonit-setup-1.0.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\codeusagemonit"- Kľúč odinštalovania v registri
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A4E8C1D7-6F2B-4C9A-8E15-3B7D9F0A2C64}_is1
- Inštalačný priečinok
- %LocalAppData%\Programs\codeusagemonit
PowerShell: stiahnuť, overiť, nainštalovať
Stiahne oficiálny súbor, overí SHA256 a program nainštaluje v tichom režime.
install-codeusagemonit.ps1
$url = 'https://github.com/fanchengliu/codeusagemonit/releases/download/v1.0.2/codeusagemonit-setup-1.0.2.exe'
$sha256 = 'FF8283711A6A021015BBEE93D471549A707EBBB0E7D0704E8F283FCD054429F1'
$file = Join-Path $env:TEMP 'codeusagemonit-setup-1.0.2.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