Kommandoer til at installere MShell uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.
Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen
Med 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 --silentPr. installationsfil
64-bit · EXE (NSIS) · Aktuel bruger
Lydløs installation
MShell-Setup-0.2.21.exe /SEgen mappe
MShell-Setup-0.2.21.exe /S /D=C:\Apps\mshell- Afinstallationsnøgle i registreringsdatabasen
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\cc256850-b136-5fb2-bce5-718f0e7ee6cb
64-bit · EXE (NSIS) · Alle brugere
Lydløs installation
MShell-Setup-0.2.21.exe /SEgen mappe
MShell-Setup-0.2.21.exe /S /D=C:\Apps\mshell- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\cc256850-b136-5fb2-bce5-718f0e7ee6cb
PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
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