Commands for installing DCode without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With 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 --silentBy installer
32-bit · ZIP · All users
Silent install
download.php /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\60be5924-eb64-4fde-8b89-de99fcba8167_is1
- Install folder
- C:\Program Files (x86)\Digital Detective\DCode v5
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
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