Silent install parameters for doPDF

Post tutorials on using doPDF, or ask a "How Can I" question.
Softland
Posts: 1443
Joined: Thu May 23, 2013 7:19 am

Postby Softland » Wed Jan 27, 2010 7:55 pm

This information is included in help too. These are the parameters accepted by the doPDF installer via command line:


Install parameters for doPDF


/SILENT, /VERYSILENT

Instructs Setup to be silent or very silent. When Setup is silent the wizard and the background window are not displayed but the installation progress window is. When a setup is very silent this installation progress window is not displayed. Everything else is normal, so for example error messages during installation are displayed.

If a restart is necessary and the /NORESTART command isn't used (see below) and Setup is silent, it will display a Reboot now? message box. If it's very silent it will reboot without asking.


/SUPPRESSMSGBOXES

Instructs Setup to suppress message boxes. Only has an effect when combined with /SILENT and /VERYSILENT.


/NOCANCEL

Prevents the user from canceling during the installation process, by disabling the Cancel button and ignoring clicks on the Close button. Useful along with /SILENT or /VERYSILENT.


/NORESTART

Instructs Setup not to reboot even if it's necessary.


/RESTARTEXITCODE=exit code

Specifies the custom exit code that Setup is to return when a restart is needed. Useful along with /NORESTART'.


/DIR="x:\dirname"

Overrides the default directory name displayed on the Select Destination Location wizard page. A fully qualified pathname must be specified.


/GROUP="folder name"

Overrides the default folder name displayed on the Select Start Menu Folder wizard page.


/NOICONS

Instructs Setup to initially check the Don't create a Start Menu folder check box on the Select Start Menu Folder wizard page.


/LANG="language"

Specifies the language to use for the installation. When a valid /LANG parameter is used, the Select Language dialog will be suppressed.


/Languages="language1-language2-..."

Specifies the languages that will be installed (e.g. /Languages="en-it-ro" will install the English, Italian and Romanian language packs). Language codes available in the current version:

ar - Arabic

bg - Bulgarian

br - Portuguese Brazilian

cs - Czech

ct - Chinese Traditional

de - German

en - English

es - Spanish

fi - Finnish

fr - French

gr - Greek

hu - Hungarian

it - Italian

ja - Japanese

kr - Korean

nl - Dutch

no - Norwegian

pl - Polish

pt - Portuguese

ro - Romanian

ru - Russian

sc - Chinese Simplified

si - Slovenian

sr - Serbian

sv - Swedish

tr - Turkish

vi - Vietnamese

uk - Ukrainian


/DefaultLang="language"

Specifies the default language. Use short language codes (exactly as those listed for the /Languages parameter above) or the REGST constant for Use regional settings option.


/Default

Instructs Setup to set the printer as default printer.


/NoInstallIfExists

Instructs setup to check if the same edition of doPDF is already installed. If found it does not start the installation.


/NoInstallIfVersion="major version.minor version.build no"

Instructs setup to check if doPDF is already installed. If found it checks what version is installed. If the version installed is older then the given parameter, it proceeds with installation. If the installed version is the same or newer then the given parameter, it does not start the installation.


Uninstall doPDF

The uninstaller has also some parameters for silent uninstall (they have the same meaning as for the installer, see above for details):


/SILENT

/VERYSILENT

/SUPPRESSMSGBOXES

/NORESTART



dmoore
Posts: 2
Joined: Thu Jan 28, 2010 9:20 pm

Postby dmoore » Fri Jan 29, 2010 4:31 am

I can't get the /SILENT switch to work. When I try to use the switch the command window loses focus for a second and then focus returns to the command window and then gives me a empty prompt. Maybe my syntax is wrong, could you post an example of the syntax?



Softland
Posts: 1443
Joined: Thu May 23, 2013 7:19 am

Postby Softland » Fri Jan 29, 2010 3:47 pm

well actually the command is very simple, just make sure you're in the directory where the setup, dopdf.e x e, is located, and then use this command:

dopdf.e x e /silent

or

dopdf.e x e /verysilent

silent still shows the progress window and the restart mention, while verysilent shouldn't show anything.


Also, dopdf supports silent installation only starting with version 7.1 so make sure you have the latest one installed.



dmoore
Posts: 2
Joined: Thu Jan 28, 2010 9:20 pm

Postby dmoore » Thu Feb 11, 2010 11:13 pm

Version 7.1 worked, thank you. I now have a new issue, I can't get the /NoInstallIfExists install parameter to work, I tried it with the /silent and without. Please help.



Softland
Posts: 1443
Joined: Thu May 23, 2013 7:19 am

Postby Softland » Fri Feb 12, 2010 4:46 pm

hi, is it possible to email support[]novapdf[]com with this issue (basically we'd need to know the OS you've tested this on, and which version including build number you tested - the old and the one you wanted to install over it). thank you!



Softland
Posts: 1443
Joined: Thu May 23, 2013 7:19 am

Re: Silent install parameters for doPDF

Postby Softland » Wed Sep 17, 2014 12:34 pm

These are the parameters accepted by the doPDF installer via command line starting with version 8 (the parameters mentioned above for version 7 don't work anymore):

-q, -quiet, -s, -silent
Instructs Setup to be silent. When Setup is silent the wizard and the background window are not displayed. Everything else is normal, so for example error messages during installation or UAC pop-ups are displayed.

-passive
The setup will start automatically and the installer window will be shown, just that no user action is needed (they don't have to click a button to start the installation)

-norestart
Instructs Setup not to reboot even if it's necessary.

-layout
This parameter will create a local image of all the download files so they can be burned to a DVD

-l, -log
This will create a log of the installation to a specific file, not the default location

-uninstall
This parameter will uninstall the program (you can combine it with -silent to have a silent operation)

-autostart="true"
This will start the program automatically after it is successfully installed

-INSTALL_FOLDER
Overrides the default directory name displayed on the Select Destination Location wizard page. A fully qualified pathname must be specified.

-INSTALL_LANGUAGE
Overrides the default installation language


Return to “Tutorials”