Kommandon för att installera BitComet utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med winget
PowerShell
winget install --id CometNetwork.BitComet -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id CometNetwork.BitComet -e --silentwinget uninstall --id CometNetwork.BitComet -e --silentPer installationsfil
64-bitars · EXE (NSIS) · Alla användare
Tyst installation
BitComet_2.23_setup.exe /SEgen mapp
BitComet_2.23_setup.exe /S /D=C:\Apps\bitcomet- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\BitComet_x64
32-bitars · EXE (NSIS) · Alla användare
Tyst installation
BitComet_2.23_setup.exe /SEgen mapp
BitComet_2.23_setup.exe /S /D=C:\Apps\bitcomet- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\BitComet
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-bitcomet.ps1
$url = 'https://download.bitcomet.com/achive/BitComet_2.23_setup.exe'
$sha256 = '21FFA859F9F60592C82E94E4738BCBB255704678387C7B58C08503B92FA2386A'
$file = Join-Path $env:TEMP 'BitComet_2.23_setup.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 '/S' -Wait install-bitcomet.ps1
$url = 'https://download.bitcomet.com/achive/BitComet_2.23_setup.exe'
$sha256 = '21FFA859F9F60592C82E94E4738BCBB255704678387C7B58C08503B92FA2386A'
$file = Join-Path $env:TEMP 'BitComet_2.23_setup.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 '/S' -Wait