Les commandes pour installer 유니콘 HTTPS sans aucune question, le désinstaller et le détecter depuis un outil de déploiement. Une commande n’apparaît que si elle est certaine : issue du manifeste ou valeur par défaut documentée de la technologie d’installation.
Guide associé: Installation silencieuse : MSI, NSIS, Inno Setup · Désinstaller un programme via le registre ou PowerShell
Avec 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 --silentPar installateur
32 bits · EXE (NSIS) · Tous les utilisateurs · ko-KR
Installation silencieuse
unicorn-https-setup.exe /SDossier personnalisé
unicorn-https-setup.exe /S /D=C:\Apps\https- Clé de registre de désinstallation
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Unicorn HTTPS
PowerShell : télécharger, vérifier, installer
Télécharge le fichier officiel, vérifie son empreinte SHA256 et l’installe en mode silencieux.
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