Commands for installing XD's Code 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 xdpxi.xds-code -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id xdpxi.xds-code -e --silentwinget uninstall --id xdpxi.xds-code -e --silentBy installer
64-bit · MSI · en-US
Silent install
msiexec /i xds-code_0.7.5_windows-x64-msi.msi /qn /norestartWrite a log
msiexec /i xds-code_0.7.5_windows-x64-msi.msi /qn /norestart /l*v "%TEMP%\xds-code-install.log"Uninstall
msiexec /x {F8CD928F-4874-4AF3-8851-809BEB313AF2} /qn /norestart- MSI product code
- {F8CD928F-4874-4AF3-8851-809BEB313AF2}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F8CD928F-4874-4AF3-8851-809BEB313AF2}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-xds-code.ps1
$url = 'https://github.com/XDPXI/XDs-Code/releases/download/0.7.5/xds-code_0.7.5_windows-x64-msi.msi'
$sha256 = 'F3C6FF4F98063EE695D4EAACC9B01A723A1CCE21CF5A574102D67341AE585908'
$file = Join-Path $env:TEMP 'xds-code_0.7.5_windows-x64-msi.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