Ordres per instal·lar zyfun 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 HiramWong.zyfun -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id HiramWong.zyfun -e --silentwinget uninstall --id HiramWong.zyfun -e --silentPer instal·lador
64 bits · EXE (NSIS) · en-US
Instal·lació silenciosa
zyfun-win-3.4.7-x64-setup.exe /SUna altra carpeta
zyfun-win-3.4.7-x64-setup.exe /S /D=C:\Apps\zyfun- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\1cf4e394-3cb1-57f9-a0e2-d9add46ad139
ARM64 · EXE (NSIS) · en-US
Instal·lació silenciosa
zyfun-win-3.4.7-arm64-setup.exe /SUna altra carpeta
zyfun-win-3.4.7-arm64-setup.exe /S /D=C:\Apps\zyfun- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\1cf4e394-3cb1-57f9-a0e2-d9add46ad139
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-zyfun.ps1
$url = 'https://github.com/Hiram-Wong/zyfun/releases/download/v3.4.7/zyfun-win-3.4.7-x64-setup.exe'
$sha256 = '5147442AEFA27C6300E9CBA7BD03959C49BB9022DFF771A5EB9F8508C19D8D9A'
$file = Join-Path $env:TEMP 'zyfun-win-3.4.7-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-zyfun.ps1
$url = 'https://github.com/Hiram-Wong/zyfun/releases/download/v3.4.7/zyfun-win-3.4.7-arm64-setup.exe'
$sha256 = 'CA61C5BB2124E92205B897DD8592F57D385FA88CCE506565EFEF7316B8E046B7'
$file = Join-Path $env:TEMP 'zyfun-win-3.4.7-arm64-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