Changes

Foxit Reader

898 bytes added, 13:01, 9 August 2010
updated page for 4.1, removed old 2.x version
Foxit Reader is a free PDF viewer distinguished from Adobe Reader by being small and more secureeasier to update.
The installer here assumes you've downloaded the MSI version of the installer rather than the regular .exe EXE installer, from the [http://www.foxitsoftware.com/pdf/reader/download.php hereFoxit download page]. It is strongly encouraged to use the MSI and not the EXE installer, because the latter is aimed at end users and includes addons like the ask.com toolbar, which you generally don't want to rollout in your company.
These installers assume that Windows is localised in English. For Windows localised for other languages you will need to make changes accordingly.
=Installer=
== Foxit Reader 34.3 1 Series (English) ==
<source lang="xml">
<package id="foxit-readerfoxitreader" name="Foxit Reader" revision="3.3411" 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.1.1.805' />
<check typeinstall cmd='msiexec /i "uninstall%SOFTWARE%\foxitreader\FoxitReader411_enu.msi" conditionINSTALLLOCATION="exists" path%PROGRAMFILES% DESKTOP_SHORTCUT="Foxit Reader" 0 VIEWINBROWSER=0 /passive /norestart' />
<install upgrade cmd='msiexec /i "%SOFTWARE%\foxit-readerfoxitreader\FoxitReader33_enuFoxitReader411_enu.msi" INSTALLLOCATION=%PROGRAMFILES% DESKTOP_SHORTCUT=0 VIEWINBROWSER=0 /qn passive /norestart' />
<remove cmd='msiexec /x {576CDB8F139D9AF8-98CA5562-4B0A47BD-942CAA85-EE60F6147931F3AD63681EDB} /passive /norestart' />  <upgrade cmd='msiexec /i "%SOFTWARE%\foxit-reader\FoxitReader33_enu" DESKTOP_SHORTCUT=0 VIEWINBROWSER=0 /qn /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.
 
== Foxit Reader 2.3 ==
 
<source lang="xml">
 
<package
id="foxit-reader"
name="Foxit Reader"
revision="2.3"
reboot="false"
priority="0">
 
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Foxit Software\Foxit Reader\Foxit Reader.exe" value="2.3.2008.3201" />
 
<install cmd='msiexec /i "%SOFTWARE%\Office\Foxit\FoxitReader23.msi" /QN /NORESTART ALLUSERS=1' />
<install cmd='"%PROGRAMFILES%\Foxit Software\Foxit Reader\Foxit Reader.exe" -register' />
 
<remove cmd='msiexec /x {376DA9DC-71B3-4AB7-A80C-8ED02A736172} /passive /norestart' />
 
<upgrade cmd='msiexec /i "%SOFTWARE%\Office\Foxit\FoxitReader23.msi" /QN /NORESTART ALLUSERS=1' />
<upgrade cmd='"%PROGRAMFILES%\Foxit Software\Foxit Reader\Foxit Reader.exe" -register' />
 
</package>
</source>
===Command-line Switches===
-register - make Foxit Reader the default PDF reader
 
 
 
=Uninstall Strings=
* 3.3.1.0518: 648AF8B5-9F79-4ABA-8D59-83998F7E3E3F
* 3.3.0.0430 (at least that version installed using the MSI): 4FEC0D0D-1279-4C46-B6F8-B73C5247A6A9
* 3.1.4.1125: 4FEC0D0D-1279-4C46-B6F8-B73C5247A6A9
* 3.1.1.0901: A9355F41-AE6C-487C-A6A9-BC348D836F43
* 3.1.?: 81EC4B5E-E735-43D2-985A-C675003BFBB6
* 4.1.1: 139D9AF8-5562-47BD-AA85-F3AD63681EDB
 
=MSI installers=
Foxit is trying to push users to use the EXE installer, so the MSI version might not listed on the download website mentioned at the beginning of this page. However you may be able to download the MSI installer via a direct URL:
* MSI installer for 3.3.1: http://cdn01.foxitsoftware.com/pub/foxit/reader/desktop/win/3.x/3.3/enu/FoxitReader331_enu.msi
* MSI instalelr for 4.0: http://cdn01.foxitsoftware.com/pub/foxit/reader/desktop/win/4.x/4.0/enu/FoxitReader40_enu.msi
* MSI installer for 4.1: http://cdn01.foxitsoftware.com/pub/foxit/reader/desktop/win/4.x/4.1/enu/FoxitReader41_enu.msi
* MSI installer for 4.1.1: http://cdn01.foxitsoftware.com/pub/foxit/reader/desktop/win/4.x/4.1/enu/FoxitReader411_enu.msi
etc...
 
If these links don't work, you can either request the MSI installer from [http://www.foxitsoftware.com/pdf/reader/enterprise_reg.php Foxit Enterprise Deployment] or use a search engine with the file names from above to find another place to download the MSI installer.
 
Even if all else fails you're still not out of luck as long as you have access to an old version of the MSI installer:
 
* Grab the most recent EXE installer from the Foxit website
* Run the EXE installer without actually installing the software
* Browse to your local %TEMP% folder, search for "Foxit Reader.exe" and copy it somewhere else
* Cancel the EXE installer
* Create your WPKG install script that first installs Foxit Reader with the help of the old MSI installer and then overwrites "Foxit Reader.exe" in the installation directory with the copy that you acquired above.
* Since Foxit Reader consists only of one executable, this procedure is equivalent to running the MSI installer of the most recent version (except that the uninstall GUID will be different)
==Turn Off Automatic Updates==
===Foxit Reader 34.1=== System-wide configuration: IsAutoUpdate=0 in %PROGRAMFILES%\Foxit Software\Foxit Reader\FoxitReader_Preferences.ini. I don't know the purpose of this file in version 3.1 as each user has their own configuration setting.
Per-user configuration: HKCU\Software\Foxit Software\Foxit Reader\AutoUpdate Info\IsAutoUpdate = 0
=Configuration Scripts=
== Foxit Reader 34.1 ==
Post-Install scripts:
* remove desktop link
* remove FF plugin
* remove IE integration
* no auto update
File '''settings.bat''':
<source lang="dos">
REM remove desktop link / not necessary if DESKTOP_SHORTCUT=0 has been set
DEL /Q "%ALLUSERSPROFILE%\Desktop\Foxit Reader.lnk"
 
REM remove FF plugin / not necessary if VIEWINBROWSER=0 has been set
DEL /Q "%PROGRAMFILES%\Mozilla Firefox\plugins\npFoxitReaderPlugin.dll"
 
REM remove IE integration
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FoxitReader.Document /v EditFlags /t REG_DWORD /d 00000002 /f >> NUL:
REM remove adds
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:
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