Polecenia do instalacji programu OpenScreen 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 OpenScreen.OpenScreen -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id OpenScreen.OpenScreen -e --silentwinget uninstall --id OpenScreen.OpenScreen -e --silentWedług instalatora
64-bit · EXE (NSIS) · en-US
Cicha instalacja
Openscreen.Setup.2.1.2-x64.exe /SWłasny folder
Openscreen.Setup.2.1.2-x64.exe /S /D=C:\Apps\openscreen- Klucz odinstalowania w rejestrze
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\5b412b41-8d8b-5faf-b557-de4fe681e5fc
- DisplayVersion
- 2.1.2
ARM64 · EXE (NSIS) · en-US
Cicha instalacja
Openscreen.Setup.2.1.2-arm64.exe /SWłasny folder
Openscreen.Setup.2.1.2-arm64.exe /S /D=C:\Apps\openscreen- Klucz odinstalowania w rejestrze
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\5b412b41-8d8b-5faf-b557-de4fe681e5fc
- DisplayVersion
- 2.1.2
PowerShell: pobierz, zweryfikuj, zainstaluj
Pobiera oficjalny plik, sprawdza jego SHA256 i instaluje go po cichu.
install-openscreen.ps1
$url = 'https://github.com/getopenscreen/openscreen/releases/download/v2.1.2/Openscreen.Setup.2.1.2-x64.exe'
$sha256 = '55A7ADCD8517159198E2F7A2E31CD69B91C3CE4FB14CF3F56E9809681CCBDFCB'
$file = Join-Path $env:TEMP 'Openscreen.Setup.2.1.2-x64.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-openscreen.ps1
$url = 'https://github.com/getopenscreen/openscreen/releases/download/v2.1.2/Openscreen.Setup.2.1.2-arm64.exe'
$sha256 = '017ABAD3897E3CA4FEB0A533D350B1ADA3ED3F23BAD51576A723A07F0ABB1081'
$file = Join-Path $env:TEMP 'Openscreen.Setup.2.1.2-arm64.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