You can use the command-line to install the application:
msiexec /Option <Required Parameter> [Optional Parameter] [PROPERTY=PropertyValue]
For detailed information on msiexec.exe options, required parameters, and optional parameters, type msiexec on the command line or visit Microsoft TechNet help center.
Public Properties of the Foxit PDF Reader MSI installation package.
Foxit PDF Reader MSI installation properties supplement the standard MSI public properties to give administrators greater control over the installation of the application.
For the complete list of standard public properties please refer to: http://msdn.microsoft.com/en-gb/library/aa370905(VS.85).aspx
The Foxit Reader properties are:
---------------------------------------------------------------------------------------------------------------
ADDLOCAL <list of features> The value of the ADDLOCAL property is a comma delimited list of features which the installation of Foxit Reader will make available locally. Foxit Reader installer defines the following features:
FX_BROWSERADDIN - Plugin for generic browser support
FX_CONVERTEXT - Shell extension which is used for converting PDF from right click menu. This feature requires FX_CREATOR to be installed
FX_CREATOR - Plugin required for Convert Text, SE, Word, Excel, PPT, OutlookVisio, and Project plugins
FX_CREATOREXCELADDIN - MS Excel toolbar add-in to create PDFs by just one click. This feature requires FX_CREATOR to be installed
FX_CREATOROUTLOOKADDIN - MS Outlook toolbar add-in to create PDFs by just one click. This feature requires FX_CREATOR to be installed
FX_CREATORPPTADDIN - MS PPT toolbar add-in to create PDFs by just one click. This feature requires FX_CREATOR to be installed
FX_CREATORPROJECTADDIN - MS Project toolbar add-in to create PDFs by just one click. This feature requires FX_CREATOR to be installed
FX_CREATORWORDADDIN - MS word toolbar add-in to create PDFs by just one click. This feature requires FX_CREATOR to be installed(This component is not available in V10 and later versions).
FX_CREATORVISIOADDIN - MS Visio toolbar add-in to create PDFs by just one click. This feature requires FX_CREATOR to be installed
FX_Evernote - Plugin which is used for opening PDF files in Evernote
FX_FIREFOXPLUGIN - Plugin which is used for opening PDF files in Internet Explorer web browser. This feature requires FX_PDFVIEWER feature to be installed.
FX_EALS - Module which is used for displaying Eastern Asian Languages. Eastern Asian Languages can't be displayed properly without it. This feature requires FX_PDFVIEWER feature to be installed. (Note: This feature has been built into the Foxit app itself starting from version 10. Therefore, you don't need to add "FX_EALS" in the command line when installing version 10 or later versions.)
FX_PDFVIEWER - Foxit PDF Viewer and its components;
FX_IEBROWSER - Plugin which is used for opening PDF files in Internet Explorer web browser. This feature requires FX_PDFVIEWER feature to be installed.
FX_IFILTER - Plugin for server indexing
FX_OCR - Plugin for OCR options
FX_PDFA - Plugin for optional PDF/A support
FX_PDFVIEWER - core plugin for browser support. Required for Firefox, IE, Spell Check, OCR, PDF/A plugins
FX_SE - Plugins for Windows Explorer and Windows shell. These shell extensions allow PDF thumbnails to be viewed in Windows Explorer, and PDF files to be previewed in Windows OS and Office 2007 (or a later version). This feature requires FX_PDFVIEWER to be installed.
FX_SPELLCHECK - Spell check tool which is used for finding any misspelled words in typewriter or form filler mode and suggesting the correct spellings. This feature requires FX_PDFVIEWER feature to be installed.
INSTALLLOCATION Specifies the folder where products will be installed.
MAKEDEFAULT Default value of "1", Foxit Reader will be set as default application for opening PDF files.
VIEW_IN_BROWSER Default value of "1", Foxit Reader will be configured to open PDF files inside browsers
DESKTOP_SHORTCUT Default value of "1", installer will place a shortcut for the installed application on Desktop.
STARTMENU_SHORTCUT Default value of "1", installer will create program menu group for installed application and its components.
SETDEFAULTPRINTER Default value of "1", installer will install Foxit Reader Printer as the system default printer(Foxit Reader Printer is not vailable in V10 and later versions).
LAUNCHCHECKDEFAULT Default value of "1", Foxit Reader will check if the Reader is the default reader when it’s launched.
CLEAN Executes with the command /uninstall, removing all of Reader’s registry data and related files with the value of “1”. (Note: This is a command for uninstallation.)
AUTO_UPDATE Do not download or install updates automatically with the value of “0”; Automatically download updates, but let users choose when to install them with the value of “1”; Automatically install updates with the value of “2”.
REMOVENEWVERSION Forces an installation to overwrite the higher version of Foxit Reader with the value of “1”.
REMOVEGAREADER Forces to uninstall Foxit Reader (Desktop Version).
CPDF_DISABLE Disables the ConnectedPDF features by setting the value to “1”.
(Note:The 'CPDF_DISABLE ' parameter is only applicable for V8 to V10 since connectedPDF related features have been removed in Foxit PDF Editor/Foxit PDF Reader since version 11 except the Chinese-simplified version 11).
NOTINSTALLUPDATE Does not install updates by setting the value to “1”. This will prevent Foxit Reader from being updated from within the software.
INTERNET_DISABLE Disables all features that require Internet connection by setting the value to “1”.
READ_MODE Opens PDF file in Read Mode by default in web browsers by setting the value to “1”.
DISABLE_UNINSTALL_SURVEY Stops the Uninstall Survey after uninstallation by setting the value to “1”.
KEYCODE Activates the application by key code.
KEYPATH Specifies a license key file and saves it to the PhantomPDF installation folder.
EMBEDDED_PDF_INOFFICE With the value of “1”, opens embedded PDF files in Microsoft Office with Foxit Reader if Acrobat and Foxit PhantomPDF is not installed.
Command-line Examples:
1. Silently install the application (no user interaction) to folder "C:\Program Files\Foxit Software":
msiexec /i "Foxit Reader.msi" /quiet INSTALLLOCATION="C:\Program Files\ Foxit Software "
2.Install only the Foxit PDF Viewer and Firefox Plugin:
msiexec /i "Foxit PhantomPDF.msi" /quiet ADDLOCAL="FX_PDFVIEWER, FX_FIREFOXPLUGIN"
3. Force an installation to overwrite the same or higher version of Foxit Reader:
msiexec /i "Foxit Reader.msi" REMOVENEWVERSION="1"
4. Remove registry and user data when performing silent uninstallation:
msiexec /x "Foxit Reader.msi" /quiet CLEAN="1"
5. Install the application without ConnectedPDF related features and services:
msiexec /i "Foxit Reader.msi" ADDLOCAL=ALL, ADVERTISE="FX_CONNECTEDPDF"
6. Activate the application by key code:
msiexec /i "FoxitReader.msi" KEYCODE="97000-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
7.Use the license key file saved in disk C to activate the application when running the setup.
msiexec /i "Foxit PhantomPDF.msi" KEYPATH="C:\fpmkey.txt"
8.No installation of Spell check tool
msiexec /i "Foxit PhantomPDF.msi" ADDLOCAL=ALL, ADVERTISE=" FX_SPELLCHECK " /qn
9.Force an installation to overwrite the same or higher version of Foxit Reader.:
msiexec /i "Foxit Reader.msi" REMOVENEWVERSION="1"
10.Remove registry and user data when performing silent uninstallation:
msiexec /x "Foxit Reader.msi" /quiet CLEAN="1
11.Install the application without ConnectedPDF related features and services:
msiexec /i "Foxit Reader.msi" ADDLOCAL=ALL, ADVERTISE="FX_CONNECTEDPDF"
Note: To know more about command-line options of the windows installer function "msiexec" , please refer to the following microsoft documentations:
Windows Server "msiexec" command options
Microsoft Standard Installer Command-Line Options
When you receive an error code returned by the windows installer functions msiexec.exe, please refer to this Microsoft documentation for troubleshooting.
Related Article
How to install MSI from command line with administrator
Foxit Reader EXE Installer Public Properties