Ordres per instal·lar 方正字库 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 FounderType.FounderType -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id FounderType.FounderType -e --silentwinget uninstall --id FounderType.FounderType -e --silentPer instal·lador
64 bits · EXE (NSIS) · Tots els usuaris
Instal·lació silenciosa
FounderClient_1.1.8.exe /SUna altra carpeta
FounderClient_1.1.8.exe /S /D=C:\Apps\foundertype-foundertype- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\0cb1c732-408c-5b5a-8052-18a72b5b0610
32 bits · EXE (NSIS) · Tots els usuaris
Instal·lació silenciosa
FounderClient_x86_1.1.8.exe /SUna altra carpeta
FounderClient_x86_1.1.8.exe /S /D=C:\Apps\foundertype-foundertype- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\0cb1c732-408c-5b5a-8052-18a72b5b0610
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-foundertype-foundertype.ps1
$url = 'https://cdn13zk.foundertype.com/fclient/pro/windows/1.1.8/FounderClient_1.1.8.exe'
$sha256 = 'C32B9CCAEB3D858604A76E6A2A92449331AB21886928AA4C576C59FC00A3B648'
$file = Join-Path $env:TEMP 'FounderClient_1.1.8.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-foundertype-foundertype.ps1
$url = 'https://cdn13zk.foundertype.com/fclient/pro/windows/1.1.8/FounderClient_x86_1.1.8.exe'
$sha256 = 'D060AC2558921FAF6E85C06F789DA7ED6369C2546028E04C07CA4F51A00A3826'
$file = Join-Path $env:TEMP 'FounderClient_x86_1.1.8.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