Commands for installing DFexplore 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 DFNetResearch.DFexplore -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DFNetResearch.DFexplore -e --silentwinget uninstall --id DFNetResearch.DFexplore -e --silentBy installer
64-bit · MSI
Silent install
msiexec /i DFexplore_5_11_2.msi /qn /norestartWrite a log
msiexec /i DFexplore_5_11_2.msi /qn /norestart /l*v "%TEMP%\dfexplore-install.log"Uninstall
msiexec /x {6E14A4A3-2811-40A6-AFEA-B7C6BDDDDD8A} /qn /norestart- MSI product code
- {6E14A4A3-2811-40A6-AFEA-B7C6BDDDDD8A}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6E14A4A3-2811-40A6-AFEA-B7C6BDDDDD8A}
- UpgradeCode
- {DAAC27F5-CF25-4F9C-BA1F-998B916E1625}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-dfexplore.ps1
$url = 'https://www.dfnetresearch.com/wp-content/uploads/dfdiscover/5.11.2apps/DFexplore_5_11_2.msi'
$sha256 = '542E804AB4646F4C6E0F20B1AE42F88967CA4C3C8FA06A6EC535A2D56D01A9D2'
$file = Join-Path $env:TEMP 'DFexplore_5_11_2.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait