Ukazi za namestitev programa PDFsam Basic brez vprašanj, za njegovo odstranitev in za zaznavanje v orodjih za uvajanje. Ukaz je prikazan le, kadar je zanesljiv: iz manifesta ali iz dokumentiranih privzetih stikal tehnologije namestitvene datoteke.
Povezan vodnik: Stikala za tiho namestitev: MSI, NSIS, Inno Setup · Odstranitev programa prek registra ali PowerShella
Z wingetom
PowerShell
winget install --id PDFsam.PDFsam -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id PDFsam.PDFsam -e --silentwinget uninstall --id PDFsam.PDFsam -e --silentPo namestitvenih datotekah
64-bitno · MSI · Vsi uporabniki
Tiha namestitev
msiexec /i pdfsam-basic-6.0.6-windows-x64.msi /qn /norestart /quiet /norestart SKIPTHANKSPAGE=YesZapiši dnevnik
msiexec /i pdfsam-basic-6.0.6-windows-x64.msi /qn /norestart /quiet /norestart SKIPTHANKSPAGE=Yes /l*v "%TEMP%\pdfsam-basic-install.log"Odstranitev
msiexec /x {3712C9D8-9FE8-4DDA-B75C-E0214767B60B} /qn /norestart- Koda izdelka MSI
- {3712C9D8-9FE8-4DDA-B75C-E0214767B60B}
- Ključ za odstranitev v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3712C9D8-9FE8-4DDA-B75C-E0214767B60B}
- UpgradeCode
- {DB40FA48-1629-11E2-9401-2F676188709B}
PowerShell: prenesi, preveri, namesti
Prenese uradno datoteko, preveri SHA256 in jo tiho namesti.
install-pdfsam-basic.ps1
$url = 'https://github.com/torakiki/pdfsam/releases/download/v6.0.6/pdfsam-basic-6.0.6-windows-x64.msi'
$sha256 = '210996DB06D202A30AC23E23ED3EFDF9C3396894481ABFBC97BC26945A6C6346'
$file = Join-Path $env:TEMP 'pdfsam-basic-6.0.6-windows-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', '/quiet /norestart SKIPTHANKSPAGE=Yes' -Wait