Polecenia do instalacji programu ScreenCloud 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 OlavSortlandThoresen.ScreenCloud -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id OlavSortlandThoresen.ScreenCloud -e --silentwinget uninstall --id OlavSortlandThoresen.ScreenCloud -e --silentWedług instalatora
64-bit · MSI
Cicha instalacja
msiexec /i ScreenCloud-1.5.3-x64.msi /qn /norestartZapis dziennika
msiexec /i ScreenCloud-1.5.3-x64.msi /qn /norestart /l*v "%TEMP%\screencloud-install.log"Odinstalowanie
msiexec /x {ED7F297E-ACDB-4FA1-99E4-219004D4EDA1} /qn /norestart- Kod produktu MSI
- {ED7F297E-ACDB-4FA1-99E4-219004D4EDA1}
- Klucz odinstalowania w rejestrze
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{ED7F297E-ACDB-4FA1-99E4-219004D4EDA1}
32-bit · MSI
Cicha instalacja
msiexec /i ScreenCloud-1.5.3-x86.msi /qn /norestartZapis dziennika
msiexec /i ScreenCloud-1.5.3-x86.msi /qn /norestart /l*v "%TEMP%\screencloud-install.log"Odinstalowanie
msiexec /x {ED7F297E-ACDB-4FA1-99E4-219004D4EDA1} /qn /norestart- Kod produktu MSI
- {ED7F297E-ACDB-4FA1-99E4-219004D4EDA1}
- Klucz odinstalowania w rejestrze
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{ED7F297E-ACDB-4FA1-99E4-219004D4EDA1}
PowerShell: pobierz, zweryfikuj, zainstaluj
Pobiera oficjalny plik, sprawdza jego SHA256 i instaluje go po cichu.
install-screencloud.ps1
$url = 'https://github.com/olav-st/screencloud/releases/download/v1.5.3/ScreenCloud-1.5.3-x64.msi'
$sha256 = '315AF306249F2A43FD03D38D71DD9DCB22FEEAF3591616CE137688632A4C2CC4'
$file = Join-Path $env:TEMP 'ScreenCloud-1.5.3-x64.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-screencloud.ps1
$url = 'https://github.com/olav-st/screencloud/releases/download/v1.5.3/ScreenCloud-1.5.3-x86.msi'
$sha256 = '6D19F6CA53DF6B186CC0118D2D42A6291077B1AFEA5F684677996736F66930A3'
$file = Join-Path $env:TEMP 'ScreenCloud-1.5.3-x86.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