Ordres per instal·lar CubePDF 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 CubeSoft.CubePDF -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id CubeSoft.CubePDF -e --silentwinget uninstall --id CubeSoft.CubePDF -e --silentPer instal·lador
64 bits · EXE (Inno Setup) · Tots els usuaris · en-US
Instal·lació silenciosa
cubepdf-4.3.7-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
cubepdf-4.3.7-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\cubepdf"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6BBF4252-CB6B-4E0B-9E5B-1719B7934917}_is1
- Carpeta d’instal·lació
- %ProgramFiles%\CubePDF
ARM64 · EXE (Inno Setup) · Tots els usuaris · en-US
Instal·lació silenciosa
cubepdf-4.3.7-arm64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
cubepdf-4.3.7-arm64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\cubepdf"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6BBF4252-CB6B-4E0B-9E5B-1719B7934917}_is1
- Carpeta d’instal·lació
- %ProgramFiles%\CubePDF
32 bits · EXE (Inno Setup) · Tots els usuaris · en-US
Instal·lació silenciosa
cubepdf-4.3.7.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
cubepdf-4.3.7.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\cubepdf"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{6BBF4252-CB6B-4E0B-9E5B-1719B7934917}_is1
- Carpeta d’instal·lació
- %ProgramFiles%\CubePDF
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-cubepdf.ps1
$url = 'https://dl.cube-soft.jp/archive/cubepdf-4.3.7-x64.exe'
$sha256 = '7E7DA70399916474E030ACF5DFC73CF7F2FB9AD93991B5515EC03560820AC880'
$file = Join-Path $env:TEMP 'cubepdf-4.3.7-x64.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-cubepdf.ps1
$url = 'https://dl.cube-soft.jp/archive/cubepdf-4.3.7-arm64.exe'
$sha256 = '79E6E34623843C953BA538A043FAFF54E6A48DC7D0E722312AF6B6D403F125D1'
$file = Join-Path $env:TEMP 'cubepdf-4.3.7-arm64.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-cubepdf.ps1
$url = 'https://dl.cube-soft.jp/archive/cubepdf-4.3.7.exe'
$sha256 = '17C078DD91E06C602F2CB8436B79C7CC1CEBC6AF7D3E99C19A8031E48516123E'
$file = Join-Path $env:TEMP 'cubepdf-4.3.7.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait