Commands for installing Weasis 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 WeasisTeam.Weasis -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id WeasisTeam.Weasis -e --silentwinget uninstall --id WeasisTeam.Weasis -e --silentBy installer
64-bit · MSI · Current user · en-US
Silent install
msiexec /i Weasis-4.8.0-x86-64.msi /qn /norestartWrite a log
msiexec /i Weasis-4.8.0-x86-64.msi /qn /norestart /l*v "%TEMP%\weasis-install.log"Uninstall
msiexec /x {46927C70-A6EF-3812-AE6C-8901A2A5CA33} /qn /norestart- MSI product code
- {46927C70-A6EF-3812-AE6C-8901A2A5CA33}
- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{46927C70-A6EF-3812-AE6C-8901A2A5CA33}
- UpgradeCode
- {3AEDC24E-48A8-4623-AB39-0C3C01C7383A}
- Install folder
- %ProgramFiles%/Weasis
- DisplayVersion
- 4.8.0
64-bit · MSI · All users · en-US
Silent install
msiexec /i Weasis-4.8.0-x86-64.msi /qn /norestartWrite a log
msiexec /i Weasis-4.8.0-x86-64.msi /qn /norestart /l*v "%TEMP%\weasis-install.log"Uninstall
msiexec /x {46927C70-A6EF-3812-AE6C-8901A2A5CA33} /qn /norestart- MSI product code
- {46927C70-A6EF-3812-AE6C-8901A2A5CA33}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{46927C70-A6EF-3812-AE6C-8901A2A5CA33}
- UpgradeCode
- {3AEDC24E-48A8-4623-AB39-0C3C01C7383A}
- Install folder
- %ProgramFiles%/Weasis
- DisplayVersion
- 4.8.0
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-weasis.ps1
$url = 'https://github.com/nroduit/Weasis/releases/download/v4.8.0/Weasis-4.8.0-x86-64.msi'
$sha256 = '20A8C632920934CFC1B3792FFC01BA00D0A4F99FC61611792B88F5AC7AFAD9E4'
$file = Join-Path $env:TEMP 'Weasis-4.8.0-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' -Wait install-weasis.ps1
$url = 'https://github.com/nroduit/Weasis/releases/download/v4.8.0/Weasis-4.8.0-x86-64.msi'
$sha256 = '20A8C632920934CFC1B3792FFC01BA00D0A4F99FC61611792B88F5AC7AFAD9E4'
$file = Join-Path $env:TEMP 'Weasis-4.8.0-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' -Wait