PDFtk – The PDF Toolkit is a friendly graphical tool for quickly merging and splitting PDF documents and pages. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of PDFtk from the command line using the EXE installer.
How to Install PDFtk Silently
PDFtk Silent Install (EXE)
- Navigate to: https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
- Download the pdftk_free-x.xx-win-setup.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command: pdftk_free-x.xx-win-setup.exe /VERYSILENT /NORESTART
- Press Enter
After a few moments you will find PDFtk entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | PDFtk – The PDF Toolkit |
Vendor: | PDF Labs |
Architecture: | x86 |
Installer Type: | EXE |
Silent Install Switch: | pdftk_free-x.xx-win-setup.exe /VERYSILENT /NORESTART |
Silent Uninstall Switch (32-bit System) | "%ProgramFiles%\PDFtk\unins000.exe" /VERYSILENT /NORESTART |
Silent Uninstall Switch (64-bit System) | "%ProgramFiles(x86)%\PDFtk\unins000.exe" /VERYSILENT /NORESTART |
Download Link: | https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/ |
PowerShell Script: | https://silentinstallhq.com/pdftk-the-pdf-toolkit-install-and-uninstall-powershell/ |
The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.
Additional Configurations
Create an PDFtk Installation Log File
The PDFtk installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following command to create a verbose log file with details about the installation.
PDFtk Silent Install (EXE) with Logging
pdftk_free-x.xx-win-setup.exe /VERYSILENT /NORESTART /LOG="%WINDIR%\Temp\PDFtk-Install.log" |
Change the PDFtk Default Installation Directory
You can also change the default installation directory by using the following command line parameters. In this example, I’m installing PDFtk to “C:\PDFtk”
pdftk_free-x.xx-win-setup.exe /DIR="C:\PDFtk" /VERYSILENT /NORESTART |
Do Not Add PDFtk Application Directory to System Path
PDFtk Silent Install (EXE) Excluding System Path Environment Variable
pdftk_free-x.xx-win-setup.exe /VERYSILENT /NORESTART /MERGETASKS=!modifypath |
How to Uninstall PDFtk Silently
Check out the PDFtk – The PDF Toolkit Install and Uninstall (PowerShell) post for a scripted solution.
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter one of the following commands:
PDFtk Silent Uninstall (EXE) on 32-bit System
"%ProgramFiles%\PDFtk\unins000.exe" /VERYSILENT /NORESTART |
PDFtk Silent Uninstall (EXE) on 64-bit System
"%ProgramFiles(x86)%\PDFtk\unins000.exe" /VERYSILENT /NORESTART |
Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.