Downloads:

5,155,843

Downloads of v 9.1.0.5097:

59,987

Last Update:

11 Jun 2018

Package Maintainer(s):

Software Author(s):

  • Foxit Software Incorporated

Tags:

Foxit PDF Reader office admin

Foxit Reader

This is not the latest version of Foxit Reader available.

  • 1
  • 2
  • 3

9.1.0.5097 | Updated: 11 Jun 2018

Downloads:

5,155,843

Downloads of v 9.1.0.5097:

59,987

Software Author(s):

  • Foxit Software Incorporated

  • 1
  • 2
  • 3
Foxit Reader 9.1.0.5097

This is not the latest version of Foxit Reader available.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Foxit Reader, run the following command from the command line or from PowerShell:

>

To upgrade Foxit Reader, run the following command from the command line or from PowerShell:

>

To uninstall Foxit Reader, run the following command from the command line or from PowerShell:

>

Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade foxitreader -y --source="'INTERNAL REPO URL'" --version="'9.1.0.5097'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade foxitreader -y --source="'INTERNAL REPO URL'" --version="'9.1.0.5097'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install foxitreader
  win_chocolatey:
    name: foxitreader
    version: '9.1.0.5097'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'foxitreader' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '9.1.0.5097'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller foxitreader
{
    Name     = "foxitreader"
    Version  = "9.1.0.5097"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'foxitreader':
  ensure   => '9.1.0.5097',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 26 Jul 2018.

Description

Foxit Reader: The Best PDF Reader. With Foxit Reader you can read and annotate PDF documents and fill out PDF forms.

Important Notes

  1. All open FoxitReader, Windows Explorer and browser instances must be closed during installation, update and uninstallation.
    Otherwise, you might encounter error dialogs during the process asking you to close all instances.
    Windows Explorer must be closed due to Foxit Reader's shell plugins, browser instances shall be closed proactively due to PDFs displayed inline.
  2. Only the English version is provided because it is bundled with the highest version of Foxit Reader among all languages.

Install arguments

FoxitReader uses Inno Setup, the available flags can be seen at http://jrsoftware.org/ishelp/index.php?topic=setupcmdline.
You might be especially interested in the "tasks" and "components" sections.
The FoxitReader-specific tasks and components from which you can choose from are: https://gist.github.com/anonymous/6ab0d828cc626834e2048d9cf4ed30e1.

For example, you would like no desktop icon, no default file association, no browser plugin and no ConnectedPDF, then run this command:

choco install foxitreader --ia '/MERGETASKS="!desktopicon,!setdefaultreader,!displayinbrowser /COMPONENTS=*pdfviewer,*ffse,*installprint,*ffaddin,*ffspellcheck,!connectedpdf"'

Note that contrary to /MERGETASKS, you have to specify in /COMPONENTS also those components which you would like to retain. You can get those from the link above of Foxit Reader-specific tasks and components. An asterisk (*) prefix results in all sub-components automatically being included as well, cf. Inno Setup's documentation linked above.


tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

# See the comments in  https://github.com/ComFreek/chocolatey-packages/blob/master/foxitreader/update.ps1
# on the '/de/' part.
$url32       = 'https://www.foxitsoftware.com/de/downloads/latest.php?product=Foxit-Reader&platform=Windows&version=9.1.0.5096&package_type=exe&language=English'
$checksum32  = 'cd68bfc0f362db801adf97f6d9e54d9c8d63fea4fbda3eae6c050ec46c8a6e73'

function Uninstall-PreviousVersion {
	Write-Output 'Uninstalling previous version...'

	$packageArgs = @{
		packageName   = $env:ChocolateyPackageName
		softwareName  = 'Foxit Reader'
		fileType      = 'EXE'
		silentArgs    = "/VERYSILENT /norestart"
		validExitCodes= @(0)
	}

	[array]$key = Get-UninstallRegistryKey -SoftwareName $packageArgs['softwareName']

	if ($key.Count -eq 1) {
		$packageArgs['file'] = $($key[0].UninstallString)
		Uninstall-ChocolateyPackage @packageArgs
	} elseif ($key.Count -gt 1) {
		Write-Warning "$($key.Count) matches found!"
		Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
		Write-Warning "Please alert package maintainer the following keys were matched:"
		$key | % {Write-Warning "- $($_.DisplayName)"}
	}
}

<#
.SYNOPSIS
Download the current version and unwrap the inner native installer.

Return a tuple ($pathToUnwrappedNativeInstaller, $tmpDirectory) where
$tmpDirectory is the directory where the native installer is contained
and which should ideally be deleted after installation.
#>
function Download-CurrentVersion {
	Write-Output 'Downloading current version...' | Out-Null

	# FoxitReader has recently changed to a "wrapped" setup program:
	# The above $url32 will download a wrapper setup EXE, which is more or less
	# a GUI interface to the wrapped inner setup EXE.
	#
	# The wrapper setup neither accepts CLI arguments for silencing nor for
	# configuration as far as we know.
	# Therefore, after downloading the wrapper setup, we extract the wrapped
	# setup EXE and run it manually in Install-CurrentVersion.

	$toolsDir = $(Split-Path -Parent $MyInvocation.ScriptName)
	$wrapperSetupDownloadPath = $(Join-Path $toolsDir "wrapper-setup.exe")
	$wrapperSetupUnzippedPath = $(Join-Path $toolsDir "wrapper-setup-extracted")

	$wrapperDownloadArgs = @{
		PackageName    = 'foxitreader'
		FileFullPath   = $wrapperSetupDownloadPath
		Url            = $url32
		Checksum       = $checksum32
		ChecksumType   = 'sha256'
		Options = @{
			Headers = @{
				# In addition on the '/de/' part in the URL (which actually forces
				# an English language setup), also specify the desired language as
				# an HTTP header even though this had no effect in the past.
				'Accept-Language' = 'en-US;en-GB'
			}
		}
	}

	$wrapperUnzipArgs = @{
		PackageName    = 'foxitreader'
		FileFullPath   = $wrapperSetupDownloadPath
		Destination    = $wrapperSetupUnzippedPath
	}

	Get-ChocolateyWebFile @wrapperDownloadArgs | Out-Null
	Get-ChocolateyUnzip @wrapperUnzipArgs | Out-Null

	# Do not use gci -File parameter to retain PS 2 compatibility
	$wrappedSetupPath =
		Get-ChildItem `
			-Path $(Join-Path $wrapperSetupUnzippedPath '$PLUGINSDIR') `
			'FoxitReader*Setup*.exe' `
		| Where {! $_.PSIsContainer} | Select -First 1 -ExpandProperty FullName

	Remove-Item $wrapperSetupDownloadPath -Recurse -Force

	return $wrappedSetupPath, $wrapperSetupUnzippedPath
}

function Install-CurrentVersion([string] $installerPath) {
	Write-Output 'Installing current version...'

	$installationArgs = @{
		PackageName    = 'foxitreader'
		FileType       = 'EXE'
		File           = $installerPath
		silentArgs     = '/verysilent'
		validExitCodes = @(0)
	}
	Write-Host $installerPath
	Install-ChocolateyInstallPackage @installationArgs
}

Write-Output 'Downloading current version and then uninstalling previous version (if any) before performing installation of the current version.'

$tmpDirectory = $null

try {
	$installerPath, $tmpDirectory = Download-CurrentVersion
	Uninstall-PreviousVersion
	Install-CurrentVersion $installerPath
}
finally {
	if (-not ($null -eq $tmpDirectory)) {
		Remove-Item $tmpDirectory -Recurse -Force
	}
}

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Foxit PDF Reader 12.0.0.1239400 89208 Thursday, June 30, 2022 Approved
Foxit PDF Reader 12.0.0.12394 21950 Wednesday, June 29, 2022 Approved
Foxit PDF Reader 11.2.2.53575 113871 Tuesday, May 10, 2022 Approved
Foxit PDF Reader 11.2.1.53537 144636 Tuesday, February 1, 2022 Exempted
Foxit PDF Reader 11.1.0.5254300 102887 Thursday, October 28, 2021 Exempted
Foxit PDF Reader 11.1.0.52543 74359 Wednesday, October 13, 2021 Approved
Foxit PDF Reader 11.0.1.49938 124034 Sunday, August 15, 2021 Exempted
Foxit PDF Reader 11.0.0.49893 511 Sunday, August 15, 2021 Exempted
Foxit Reader 10.1.4.37651 204224 Thursday, May 6, 2021 Approved

This package has no dependencies.

Discussion for the Foxit Reader Package

Ground Rules:

  • This discussion is only about Foxit Reader and the Foxit Reader package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Foxit Reader, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus