Commands for installing MShell 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 inspoaibox.Mshell -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id inspoaibox.Mshell -e --silentwinget uninstall --id inspoaibox.Mshell -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
MShell-Setup-0.2.21.exe /SCustom folder
MShell-Setup-0.2.21.exe /S /D=C:\Apps\mshell- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\cc256850-b136-5fb2-bce5-718f0e7ee6cb
64-bit · EXE (NSIS) · All users
Silent install
MShell-Setup-0.2.21.exe /SCustom folder
MShell-Setup-0.2.21.exe /S /D=C:\Apps\mshell- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\cc256850-b136-5fb2-bce5-718f0e7ee6cb
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-mshell.ps1
$url = 'https://github.com/inspoaibox/Mshell/releases/download/V0.2.21/MShell-Setup-0.2.21.exe'
$sha256 = '3D068F4D8317C543B0EE6B3F51EAA9AB7A3E9CF5F8898907BE501D7CEA5B8C47'
$file = Join-Path $env:TEMP 'MShell-Setup-0.2.21.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-mshell.ps1
$url = 'https://github.com/inspoaibox/Mshell/releases/download/V0.2.21/MShell-Setup-0.2.21.exe'
$sha256 = '3D068F4D8317C543B0EE6B3F51EAA9AB7A3E9CF5F8898907BE501D7CEA5B8C47'
$file = Join-Path $env:TEMP 'MShell-Setup-0.2.21.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