Polecenia do instalacji programu Msgify Lite bez pytań, do jego usuwania i do wykrywania w narzędziach wdrożeniowych. Polecenie jest podane tylko wtedy, gdy jest pewne: pochodzi z manifestu albo z udokumentowanych ustawień domyślnych technologii instalatora.
Powiązany poradnik: Parametry cichej instalacji: MSI, NSIS, Inno Setup · Odinstalowanie programu przez rejestr lub PowerShell
Przez winget
PowerShell
winget install --id Msgify.Lite -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Msgify.Lite -e --silentwinget uninstall --id Msgify.Lite -e --silentWedług instalatora
64-bit · MSI · Wszyscy użytkownicy
Cicha instalacja
msiexec /i Msgify_0.1.1_x64_en-US.msi /qn /norestartZapis dziennika
msiexec /i Msgify_0.1.1_x64_en-US.msi /qn /norestart /l*v "%TEMP%\msgify-lite-install.log"Odinstalowanie
msiexec /x {6CEF4540-BA08-467B-BEA9-278023C76A66} /qn /norestart- Kod produktu MSI
- {6CEF4540-BA08-467B-BEA9-278023C76A66}
- Klucz odinstalowania w rejestrze
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6CEF4540-BA08-467B-BEA9-278023C76A66}
PowerShell: pobierz, zweryfikuj, zainstaluj
Pobiera oficjalny plik, sprawdza jego SHA256 i instaluje go po cichu.
install-msgify-lite.ps1
$url = 'https://github.com/miangee21/Msgify-Lite/releases/download/v0.1.1/Msgify_0.1.1_x64_en-US.msi'
$sha256 = 'F461557B0B33FAC743E6F3D1E89E8CADA569B07E4420F57A5261C63E48151362'
$file = Join-Path $env:TEMP 'Msgify_0.1.1_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