Kommandon för att installera DCode 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 DigitalDetective.DCode -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DigitalDetective.DCode -e --silentwinget uninstall --id DigitalDetective.DCode -e --silentPer installationsfil
32-bitars · ZIP · Alla användare
Tyst installation
download.php /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\60be5924-eb64-4fde-8b89-de99fcba8167_is1
- Installationsmapp
- C:\Program Files (x86)\Digital Detective\DCode v5
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-dcode.ps1
$url = 'https://www.digital-detective.net/download/download.php?downcode=ae2znu5994j1lforlh03'
$sha256 = 'BE3383C8C37AF8A8E2978011009D8BB3041C294EEDA0EC8424341C8CEC2E064F'
$file = Join-Path $env:TEMP 'download.php'
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