Commands for installing FlashDEG 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 WinNGS.FlashDEG -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id WinNGS.FlashDEG -e --silentwinget uninstall --id WinNGS.FlashDEG -e --silentBy installer
64-bit · MSI · All users
Silent install
msiexec /i flashdeg-1.1.0-windows-x86_64.msi /qn /norestart /qnWrite a log
msiexec /i flashdeg-1.1.0-windows-x86_64.msi /qn /norestart /qn /l*v "%TEMP%\flashdeg-install.log"Uninstall
msiexec /x {27D6B43F-5E96-4995-956B-D84B7CBD88E4} /qn /norestart- MSI product code
- {27D6B43F-5E96-4995-956B-D84B7CBD88E4}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{27D6B43F-5E96-4995-956B-D84B7CBD88E4}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-flashdeg.ps1
$url = 'https://github.com/tus-kondolab/flashdeg/releases/download/v1.1.0/flashdeg-1.1.0-windows-x86_64.msi'
$sha256 = 'A922272FCF6367C25C1EE60549A202F72579810D1538CEC519F7E4BC71729CE5'
$file = Join-Path $env:TEMP 'flashdeg-1.1.0-windows-x86_64.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', '/qn' -Wait