Kommandoer til at installere codeusagemonit uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.
Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen
Med 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 --silentPr. installationsfil
64-bit · EXE (Inno Setup) · Aktuel bruger
Lydløs installation
codeusagemonit-setup-1.0.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mappe
codeusagemonit-setup-1.0.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\codeusagemonit"- Afinstallationsnøgle i registreringsdatabasen
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A4E8C1D7-6F2B-4C9A-8E15-3B7D9F0A2C64}_is1
- Installationsmappe
- %LocalAppData%\Programs\codeusagemonit
PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
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