Changes

Jump to: navigation, search

Foxit Reader

344 bytes removed, 15:24, 24 March 2011
Updated to a new version of 4.3.1, cleaned up page
<source lang="xml">
<package id="foxitreader" name="Foxit Reader" revision="4.3.1.118323" reboot="false" priority="0">
<check type="uninstall" condition="exists" path="Foxit Reader" />
<check type='file' condition='versiongreaterorequal' path='%PROGRAMFILES%\Foxit Reader\Foxit Reader.exe' value='4.3.1.118323' />
<install cmd='msiexec /i "%SOFTWARE%\foxitreader\FoxitReader43_enu.msi" DESKTOP_SHORTCUT=0 VIEWINBROWSER=0 DISPLAYINBROWSER=0 /passive /norestart' />
<!-- Multiple versions of Foxit Reader were released under the same version number 4.3.1, hence the MSI upgrade procedure doesn't work and you have to uninstall the old version before installing the new one -->
<remove cmd='msiexec /x{BEE120D0-AAA0-4835-8EDA-925F82CEB673} /passive /norestart' />
<upgrade cmd='msiexec /i "%SOFTWARE%\foxitreader\FoxitReader43_enu.msi" DESKTOP_SHORTCUT=0 VIEWINBROWSER=0 DISPLAYINBROWSER=0 /passive /norestart' />
<remove cmd='msiexec /x{BEE120D00C441730-AAA085C7-48354667-8EDA895B-925F82CEB6736F7327D278EF} /passive /norestart' />
</package>
</source>
Foxit Reader automatically makes itself the default PDF reader, hence the '-register' command-line switch used with earlier versions isn't used here. If you don't want this you can set the property MAKEDEFAULT=0 during installation.
 
===Command-line Switches===
 
-register - make Foxit Reader the default PDF reader
 
== Foxit Reader 3.3 Series (English) ==
 
<source lang="xml">
<package
id="foxit-reader"
name="Foxit Reader"
revision="3.3"
reboot="false"
priority="0">
 
<check
type="uninstall"
condition="exists"
path="Foxit Reader" />
 
<install cmd='msiexec /i "%SOFTWARE%\foxit-reader\FoxitReader33_enu.msi" DESKTOP_SHORTCUT=0 VIEWINBROWSER=0 /qn /norestart' />
 
<remove cmd='msiexec /x {576CDB8F-98CA-4B0A-942C-EE60F6147931} /passive /norestart' />
 
<upgrade cmd='msiexec /i "%SOFTWARE%\foxit-reader\FoxitReader33_enu" DESKTOP_SHORTCUT=0 VIEWINBROWSER=0 /qn /norestart' />
</package>
</source>
Please note that VIEWINBROWSER does not affect Internet Explorer integration. To disable that you have to uncheck "Internet -> Display PDF in Browser" through the Foxit Reader GUI or use the script below.
 
Foxit Reader automatically makes itself the default PDF reader, hence the '-register' command-line switch used with earlier versions isn't used here. If you don't want this you can set the property MAKEDEFAULT=0 during installation.
===Command-line Switches===
* 4.2: 549197A2-8484-426C-814F-81A6535A24D6
* 4.3: 35E93AC6-D7E0-4F32-BEF3-FFBA011B0861
* 4.3.1: BEE120D0-AAA0-4835-8EDA-925F82CEB673and D60F533D-0CBF-475F-8300-8B13799775D0 and 0C441730-85C7-4667-895B-6F7327D278EF (someone at Foxit thinks it's a good idea to repeatedly release multiple versions under the same version number)
=MSI installers=
=Configuration Scripts=
== Foxit Reader 4.2 3 ==
Post-Install scripts:
* remove IE integration
* no auto update
* remove addsads* remove register dialog
reg add "%1\Software\Foxit Software\Foxit Reader\MainFrame" /v ShowAd /d 0 /f >> NUL:
reg add "%1\Software\Foxit Software\Foxit Reader\MainFrame" /v RemoveAskBtn /d 1 /f >> NUL:
reg add "%1\Software\Foxit Software\Foxit Reader\MainFrame" /v ShowRegisterDlg /d 0 /f >> NUL:
REM no FF and IE integration (just for Display in browser check box)
reg add "%1\Software\Foxit Software\Foxit Reader\MainFrame" /v DisplayInBrowser /t REG_DWORD /d 00000000 /f >> NUL:
Anonymous user

Navigation menu