Commands for installing DMT840MD Controller Software 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 DMT.DMT840MDControllerSoftware -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DMT.DMT840MDControllerSoftware -e --silentwinget uninstall --id DMT.DMT840MDControllerSoftware -e --silentBy installer
64-bit · MSI · All users
Silent install
msiexec /i dmt840md_controller_software_v1.3.0_installer.msi /qn /norestartWrite a log
msiexec /i dmt840md_controller_software_v1.3.0_installer.msi /qn /norestart /l*v "%TEMP%\dmt840md-controller-software-install.log"Uninstall
msiexec /x {A9AD9987-921F-44A9-8469-8EA0DAE29BBF} /qn /norestart- MSI product code
- {A9AD9987-921F-44A9-8469-8EA0DAE29BBF}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A9AD9987-921F-44A9-8469-8EA0DAE29BBF}
- UpgradeCode
- {FF29B856-1335-4088-8307-39A2870535AA}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-dmt840md-controller-software.ps1
$url = 'https://www.dmt.dk/uploads/6/5/6/8/65689239/dmt840md_controller_software_v1.3.0_installer.msi'
$sha256 = '62B006B6C9938293EAEE73293102F10A6DFDFCAF1DF3370378B9740A86898215'
$file = Join-Path $env:TEMP 'dmt840md_controller_software_v1.3.0_installer.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