Ordres per instal·lar GlyphPDF 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 Glyph.GlyphPDF -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Glyph.GlyphPDF -e --silentwinget uninstall --id Glyph.GlyphPDF -e --silentPer instal·lador
64 bits · MSI · Tots els usuaris
Instal·lació silenciosa
msiexec /i GlyphPDF-1.0.0-x64.msi /qn /norestartDesar un registre
msiexec /i GlyphPDF-1.0.0-x64.msi /qn /norestart /l*v "%TEMP%\glyphpdf-install.log"Desinstal·lar
msiexec /x {5BA17AB1-F3AC-4A62-B02E-27FC9B77F691} /qn /norestart- Codi de producte MSI
- {5BA17AB1-F3AC-4A62-B02E-27FC9B77F691}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5BA17AB1-F3AC-4A62-B02E-27FC9B77F691}
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-glyphpdf.ps1
$url = 'https://github.com/eliets2/glyph-pdf/releases/download/v1.0.0/GlyphPDF-1.0.0-x64.msi'
$sha256 = '79286BA3F8756B166C7ED4F8D1F2342CE0AE41EA9018C73A26E16BE010AF827B'
$file = Join-Path $env:TEMP 'GlyphPDF-1.0.0-x64.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