我做了一些研究,发现下面,查看 VIEW_IN_BROWSER 选项,你需要做一些测试才能得到它,但它应该能让你到达那里。
Command-line for installation is:
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 Reader MSI installation package.
Foxit Reader 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: [url]http://msdn.microsoft.com/en-gb/library/aa370905(VS.85).aspx[/url]
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_PDFVIEWER - Foxit PDF Viewer and its components;
FX_FIREFOXPLUGIN - Plugin which is used for opening PDF files in Mozilla Firefox, Opera, Safari, and Chrome browsers. This feature requires FX_PDFVIEWER feature to be installed.
FX_SE - Plugins for Windows Explorer and Windows shell. These extensions allow viewing PDF thumbnails into Windows Explorer, handling preview of PDF files into Windows Vista and Office 2007. 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 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 shortcut for installed application on Desktop.
STARTMENU_SHORTCUT Default value of "1", installer will create program menu group for installed application and their components.
LAUNCHCHECKDEFAULT Default value of "1", Foxit Reader will check if the Reader is the default reader when launching.
SAFEMODE Default value of "1", Foxit Reader will run in the Safe Reading Mode.
来源