Các lệnh để cài đặt 유니콘 HTTPS không cần thao tác, gỡ bỏ và phát hiện phần mềm trong công cụ triển khai. Chỉ những lệnh chắc chắn mới được hiển thị: lấy từ manifest hoặc từ tham số mặc định được tài liệu hóa của công nghệ bộ cài.
Hướng dẫn liên quan: Tham số cài đặt im lặng: MSI, NSIS, Inno Setup · Gỡ cài đặt phần mềm bằng registry hoặc PowerShell
Bằng 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 --silentTheo bộ cài
32-bit · EXE (NSIS) · Tất cả người dùng · ko-KR
Cài đặt im lặng
unicorn-https-setup.exe /SThư mục tùy chọn
unicorn-https-setup.exe /S /D=C:\Apps\https- Khóa registry gỡ cài đặt
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Unicorn HTTPS
PowerShell: tải về, kiểm tra, cài đặt
Tải tệp chính thức, kiểm tra mã SHA256 rồi cài đặt im lặng.
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