Commands for installing Dais 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 Dais.Dais -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Dais.Dais -e --silentwinget uninstall --id Dais.Dais -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
Dais_0.16.4_x64-setup.exe /SCustom folder
Dais_0.16.4_x64-setup.exe /S /D=C:\Apps\dais- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Dais
64-bit · MSI · All users
Silent install
msiexec /i Dais_0.16.4_x64_en-US.msi /qn /norestartWrite a log
msiexec /i Dais_0.16.4_x64_en-US.msi /qn /norestart /l*v "%TEMP%\dais-install.log"Uninstall
msiexec /x {54B2445A-D604-4EF7-A48E-D367783F82B1} /qn /norestart- MSI product code
- {54B2445A-D604-4EF7-A48E-D367783F82B1}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{54B2445A-D604-4EF7-A48E-D367783F82B1}
- UpgradeCode
- {4F1EF755-A3C3-5E42-B1C3-DA56D31ED950}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-dais.ps1
$url = 'https://github.com/Dais-Project/Dais/releases/download/app-v0.16.4/Dais_0.16.4_x64-setup.exe'
$sha256 = 'FE26CF48EB9C851569AC93AC60F646DFA23C0858F0D0D1E3B72AE66F88CC396F'
$file = Join-Path $env:TEMP 'Dais_0.16.4_x64-setup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait install-dais.ps1
$url = 'https://github.com/Dais-Project/Dais/releases/download/app-v0.16.4/Dais_0.16.4_x64_en-US.msi'
$sha256 = '9A43F46BCDAD2ADA7835F2D5B5E30CC4C170DC8D4C9D738A6B0FEA14016BAA15'
$file = Join-Path $env:TEMP 'Dais_0.16.4_x64_en-US.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