Ordres per instal·lar HuLa sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb winget
PowerShell
winget install --id HuLaSpark.HuLa -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id HuLaSpark.HuLa -e --silentwinget uninstall --id HuLaSpark.HuLa -e --silentPer instal·lador
64 bits · EXE (NSIS) · Usuari actual
Instal·lació silenciosa
HuLa_3.0.9_x64-setup.exe /SUna altra carpeta
HuLa_3.0.9_x64-setup.exe /S /D=C:\Apps\hula- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\HuLa
64 bits · MSI · Tots els usuaris
Instal·lació silenciosa
msiexec /i HuLa_3.0.9_x64_zh-CN.msi /qn /norestartDesar un registre
msiexec /i HuLa_3.0.9_x64_zh-CN.msi /qn /norestart /l*v "%TEMP%\hula-install.log"Desinstal·lar
msiexec /x {D4979FA4-08CC-49D9-B7C0-D2EED45556A1} /qn /norestart- Codi de producte MSI
- {D4979FA4-08CC-49D9-B7C0-D2EED45556A1}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D4979FA4-08CC-49D9-B7C0-D2EED45556A1}
- UpgradeCode
- {B3F67017-3BE2-5E94-ADD9-86A186F83104}
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-hula.ps1
$url = 'https://github.com/HuLaSpark/HuLa/releases/download/v3.0.9/HuLa_3.0.9_x64-setup.exe'
$sha256 = 'B16C492B303399F2FF589A0B2DEEE183C1689E0220EC9368BFC85B00B26FDF2B'
$file = Join-Path $env:TEMP 'HuLa_3.0.9_x64-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 install-hula.ps1
$url = 'https://github.com/HuLaSpark/HuLa/releases/download/v3.0.9/HuLa_3.0.9_x64_zh-CN.msi'
$sha256 = '4D6D962A88B3DE30991FDF21F235A479155D8DF2A763F64BF446D136817C2FF5'
$file = Join-Path $env:TEMP 'HuLa_3.0.9_x64_zh-CN.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait