Komandat për të instaluar 유니콘 HTTPS pa pyetje, për ta hequr sërish dhe për ta zbuluar nga mjetet e shpërndarjes. Një komandë shfaqet vetëm kur është e sigurt: nga manifesti ose nga vlera e paracaktuar e dokumentuar e teknologjisë së instaluesit.
Udhëzues i lidhur: Parametrat e instalimit të heshtur: MSI, NSIS, Inno · Çinstalimi i një programi me regjistrin ose PowerShell
Me 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 --silentSipas instaluesit
32-bit · EXE (NSIS) · Të gjithë përdoruesit · ko-KR
Instalim i heshtur
unicorn-https-setup.exe /SDosje tjetër
unicorn-https-setup.exe /S /D=C:\Apps\https- Çelësi i çinstalimit në regjistër
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Unicorn HTTPS
PowerShell: shkarko, verifiko, instalo
Shkarkon skedarin zyrtar, kontrollon SHA256 dhe e instalon në heshtje.
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