Kommandoer for å installere codeusagemonit uten spørsmål, fjerne programmet igjen og gjenkjenne det i distribusjonsverktøy. En kommando vises bare når den er sikker: fra manifestet eller som dokumentert standard for installasjonsteknologien.
Relatert veiledning: Parametre for stille installasjon: MSI, NSIS, Inno · Avinstaller et program via registeret eller PowerShell
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 --silentPer installasjonsfil
64-bit · EXE (Inno Setup) · Gjeldende bruker
Stille installasjon
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"- Registernøkkel for avinstallering
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A4E8C1D7-6F2B-4C9A-8E15-3B7D9F0A2C64}_is1
- Installasjonsmappe
- %LocalAppData%\Programs\codeusagemonit
PowerShell: last ned, kontroller, installer
Laster ned den offisielle filen, kontrollerer SHA256-summen og installerer i stillhet.
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