Polecenia do instalacji programu 유니콘 HTTPS 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 UnicornSoft.UnicornHTTPS -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id UnicornSoft.UnicornHTTPS -e --silentwinget uninstall --id UnicornSoft.UnicornHTTPS -e --silentWedług instalatora
32-bit · EXE (NSIS) · Wszyscy użytkownicy · ko-KR
Cicha instalacja
unicorn-https-setup.exe /SWłasny folder
unicorn-https-setup.exe /S /D=C:\Apps\https- Klucz odinstalowania w rejestrze
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Unicorn HTTPS
PowerShell: pobierz, zweryfikuj, zainstaluj
Pobiera oficjalny plik, sprawdza jego SHA256 i instaluje go po cichu.
install-https.ps1
$url = 'https://unicornhttps-production.s3.ap-northeast-2.amazonaws.com/unicornhttps/v1/hello/windows/unicorn-https-setup.exe'
$sha256 = 'D2C1D56DBB1BF331F2E7F50FDFECDA9FE89FA8BAAC2732A080253F71294632F9'
$file = Join-Path $env:TEMP 'unicorn-https-setup.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