PDF-XChange - 4.x Installation silencieuse pour installations multiples

Haut  Précedent  Suivant

Silently installing PDF-XChange.

This functionality is provided for users with multiple licenses - not for single user licenses to be copied to multiple machines - which is illegal. A license is required for each machine to which PDF-XChange is installed - except for evaluation use in demonstration mode.

Assuming you have a multiple user license - installing PDF-XChange to many workstations - it may be useful to be able to silently install without the need for any user interaction. This allows you to execute the install either from the command line with certain parameters and switches applied - or create a batch file (.bat file) and distribute this with the main installation executable for your users to run directly - alleviating the need for the System Administrator to visit each user and install.

Please note as with any system device - such as a printer, full Administrator privileges are required to install on later 'Win32' versions of Microsoft Windows.

Here is an example of the full command line string available :

Most items are optional unless otherwise stated

C:\PDFX4.exe /VERYSILENT /NORESTART /COMPONENTS="pdfSaver,PDF-XChange driver,PDF-Tools,Office2PDF, Help,Languagess" /DIR="C:\Program Files\PDF-XChange 4 Pro\" "/Key:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX" "/UserName:I am" "/Organization:Tracker software" "/UserEmail:my@email.com" "/InstallProfile:C:\Documents and Settings\All Users\Templates\my Profile1.pxp"

Broken down into sections - these are the switches and what each does.

N.B. Please note that the indicated string content must begin and end with double quote marks (")!

MAIN install executable and path (required)

i.e.: C:\PDFX4.exe

The  is the full path to the installation executable, note it is the standard install executable - both silent and non silent installations are available from the single executable.

/VERYSILENT

Designates that the installation once started should be silent and require no user interaction.

/SILENT

Designates that the install should only request essential information from the user once started

/NORESTART

Once the install is complete - no reboot will occur - but beware - PDF-XChange does require a reboot before updates will take effect - not recommended.

/DIR= (required)

the full path to install all required files to, created if not already available.

i.e. : /DIR="C:\Program Files\PDF-XChange  Pro\"

/Group= (Optional)

The Windows 'Start Menu' folder in which to locate the Menu options provided when installing PDF-XChange - this will always be a 'Child' menu option of the default 'Programs Files' menu and this cannot be changed. 

i.e. : /GROUP="Tracker Software\PDF-XChange 4 Pro"

/COMPONENTS=

If this switch is specified only those components actually listed will be installed, otherwise all components are installed. The available components are:

- pdfSaver (Always Required)

- PDF-XChange driver (Always Required)

- PDF-Tools

- Office2PDF

- Help

- Languagess (please note 'ss' is required)

- OfficesAddin

- Autounload

i.e. : /COMPONENTS="pdfSaver,PDF-XChange driver,PDF-Tools, Help,Languagess"

Will install all components except OFFice2PDF.

/AutoUnload:nn

If this option is specified, after the specified timeout (nn, in minutes) the PDFSaver4 module of the PDF-XChange driver will unload.

Useful when installed on a Windows Terminal Server or Citrix Metaframe server with multiple Users to minimise memory in use when PDF creation is not being used by a user - will automatically reload when required.

i.e. "/Autounload:03"

(Strictly speaking Autounload is not a component - but a default setting parameter mainly used in Citrix Metaframe or Terminal Services installations to minimise memory use on a server where PDFSaver4.exe could be loaded multiple times.)

/Key (Registration)

Allows the license key to be registered during silent installation - for live use. Without this information PDF-XChange will function in demo mode only

i.e. : "/Key:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"

/UserName Registration

Allows the registered username to be registered during silent installation

i.e. : Username"/UserName:MY Name"

/Organization Registration

Allows the Company details to be registered during silent installation

i.e. : "/Organization:Tracker software"

/PDEFAULT= (Optional)

Sets PDF-XChange to be the system default Printer - the default option without this entry is that PDF-XChange will not be the default printer.

/UserEmail Registration: Allows the users email address details to be registered during silent installation

i.e. : "/UserEmail:my@email.com"

/Lang

Sets a language as the default language for the User Interface for all the installed programs and Print drivers (PDF-XChange, PDF-Tools, OFFice2PDF and the MS Office Addin's etc).

/LANG=language en (English) nl (Dutch) uk (Ukrainian) fr (French) gr (German) it (Italian) sp (Spanish) ko (Korean) ch (Chinese) jp (Japanese) fi (Finnish)

This may not be the complete list - please see the installation folder

'C:\Program Files\Tracker Software\PDF-XChange 4 Pro\Languages' for the up to date list of supported language files.

Example (for German)

PDFX4.exe [other parameters]  /LANG=gr  [Additional parameters]

/InstallProfile:path to profile

When specified the users PDF-XChange Installation will automatically be configured and loaded with the default printer preferences as designated in the specified Profile - which must exist both before and after the installation in the designated path on the users drive.

Important : When profiles are created using the silent install they are available globally for all users on the installed hardware - either a single PC or a Citrix Metaframe/Windows Terminal Server. Therefore from build 3.3063 we have disabled the ability for a single user to edit or delete profiles created using the silent installation as they are used by all. (If you wish to be able to edit profiles you must import them after installation and they will be visible only by the user logged in and performing the import)

i.e. : "/InstallProfile:C:\Documents and Settings\All Users\Templates\my Profile1.pxp"

Installation with a more than one profile using the silent installation options.

From build 3.3063 we have made it possible to install and import more than one profile - using a text file containing a list of profile files and the full paths  where they are located. Create a text file using any standard text editor - i.e. Notepad. Create a file containing the list of profiles you have created and their location on the drive at the time you intend to run the installation, for example:

C:\Tmp\Myprofile1.pxp

D:\Figna\Myprofile222.pxp

D:\XXXX\Myprofile33.pxp

M:\YYYYY\Myprofile444.pxp

Z:\ZZZZZ\Myprofile5.pxp

Save this list to a an ASCII text file - ensuring the extension given to the file is .lst The last profile in the list will be installed as the default profile on opening PDF-XChange !

You can now use the following command line switch as part of your silent installation options

i.e.: "/InstallProfile:C:\Tmp\MyProfilesList.lst"

Warning ! Failure to ensure that special switch characters such as quote marks (") and "/" are included in your command line or batch file, in the correct position - will result in failure to behave as required.