Q: Is there a way to install PDF Studio silently, for installations throughout an organization? We need to distribute PDF Studio to multiple computers and would like to set the key for each user upon installation.

A: PDF Studio can be installed and registered programmatically without requiring user input on user machine.

Note that standard license keys are saved in the user home folder. It is important that the user home folder remains persistent to guarantee that license key , as well as application user settings, are preserved across sessions.

Command Line Installation

Below are instructions to install and register PDF Studio in one step on each operating system.

Download PDF Studio Installer

Replace in the instructions below 1234 with your license key

On Windows:

PDFStudio_win.exe -q -register 1234 -console -splash

On Linux:

sh ./PDFStudio_linux.sh -q -register 1234 -console -splash

On Mac OS X: 

*Note: On the Mac, installation and registration are completed in 2 steps.

cd to location of .dmg
hdiutil mount PDFStudio_mac64.dmg
cd "/Volumes/PDFStudio"
open -n "PDF Studio Installer.app" --args -q
cd ..
hdiutil unmount "/Volumes/PDFStudio/"
cd /Applications
open -n "PDF Studio 2018.app" --args -register 1234 -console

If you are having issue with the open command, read our other KB entry for another way to silently install and register on the Mac.

Command Line Arguments

-q means the installer is running in unattended mode, using all default options.
-console is optional and will output the folder where the application was installed as well as an installation and registration success message to the console
-dir [directory]  Only valid if -q is set. Sets a different installation directory than the default.
-register [licensekey]  Only valid if -q is set. Registers with the given license key.
-splash is optional and will show a progress bar. It has to be the last argument.

Editing the default installer options

Read this KB article regarding installing using different options than the default ones

Additional command line arguments

See list of all optional command line options for PDF Studio’s installer, or as a PDF install4j_commandline_options.pdf.