Downloads:

5,136,818

Downloads of v 11.0.1.49938:

124,034

Last Update:

15 Aug 2021

Package Maintainer(s):

Software Author(s):

  • Foxit Software Incorporated

Tags:

Foxit PDF Reader office admin

Foxit PDF Reader

This is not the latest version of Foxit PDF Reader available.

  • 1
  • 2
  • 3

11.0.1.49938 | Updated: 15 Aug 2021

Downloads:

5,136,818

Downloads of v 11.0.1.49938:

124,034

Software Author(s):

  • Foxit Software Incorporated

  • 1
  • 2
  • 3
Foxit PDF Reader 11.0.1.49938

This is not the latest version of Foxit PDF Reader available.

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Exemption for this package version only:

File manually checked, automatic scanning failed due to a limitation in the scanner.

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

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

>

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

>

To uninstall Foxit PDF 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="'11.0.1.49938'" [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="'11.0.1.49938'" 
$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: '11.0.1.49938'
    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  '11.0.1.49938'
end

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


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

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


package { 'foxitreader':
  ensure   => '11.0.1.49938',
  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 is exempt from moderation. While it is likely safe for you, there is more risk involved.
Description

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

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 PDF Reader's shell plugins, browser instances shall be closed proactively due to PDFs displayed inline.

Install arguments

  • Language: Pass one of the supported ISO 639-1 two-letter codes, e.g. /LANG=en or /LANG=es or /LANG=de.

  • Tasks, Components: configure desktop icons, file association, browser plugins, ConnectedPDF among others.<br>
    FoxitReader uses Inno Setup, from whose relevant flags the relevant subset for FoxitReader in "tasks" and "components" section is listed here.

    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 PDF 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/brogers5/chocolatey-package-foxitreader/blob/main/update.ps1
# on the &language=German part.
$url32       = 'https://www.foxit.com/downloads/latest.html?product=Foxit-Reader&platform=Windows&package_type=exe&language=German&version=11.0.1.49938'
$checksum32  = 'd6281d2029e46a2203dbf94d302f26213e264be2dee108e7cfd209bb13b15666'

# FoxitReader changes its offered installer from time to time between two versions
#  a) the installer comes with a wrapper setup
#  b) the installer comes *without* a wrapper setup.

# If FoxitReader changes its offered installer once again, just change this value to toggle between install methods.
$isWrappedInstaller = $false

if ($isWrappedInstaller)
{
	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 | ForEach-Object {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 Get-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' = 'de-DE'
				}
			}
		}
	
		$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-Object {! $_.PSIsContainer} | Select-Object -First 1 -ExpandProperty FullName
	
		# Continue and don't fail in case AV software locks files
		Remove-Item $wrapperSetupDownloadPath -Recurse -Force -ErrorAction Continue
	
		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 = Get-CurrentVersion
		Uninstall-PreviousVersion
		Install-CurrentVersion $installerPath
	}
	finally {
		if (-not ($null -eq $tmpDirectory)) {
			# Continue and don't fail in case AV software locks files
			Remove-Item $tmpDirectory -Recurse -Force -ErrorAction Continue
		}
	}
}
else {
	$installationArgs = @{
		PackageName    = 'foxitreader'
		FileType       = 'EXE'
		Url            = $url32
		Checksum       = $checksum32
		ChecksumType   = 'sha256'
		silentArgs     = '/verysilent'
		validExitCodes = @(0)
	}
	
	Install-ChocolateyPackage @installationArgs
}
tools\chocolateyUninstall.ps1
$ErrorActionPreference = 'Stop'

$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 | ForEach-Object {Write-Warning "- $($_.DisplayName)"}
}

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 89186 Thursday, June 30, 2022 Approved
Foxit PDF Reader 12.0.0.12394 21938 Wednesday, June 29, 2022 Approved
Foxit PDF Reader 11.2.2.53575 113854 Tuesday, May 10, 2022 Approved
Foxit PDF Reader 11.2.1.53537 144626 Tuesday, February 1, 2022 Exempted
Foxit PDF Reader 11.1.0.5254300 102886 Thursday, October 28, 2021 Exempted
Foxit PDF Reader 11.1.0.52543 74358 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 475 Sunday, August 15, 2021 Exempted
Foxit Reader 10.1.4.37651 204223 Thursday, May 6, 2021 Approved

This package has no dependencies.

Discussion for the Foxit PDF Reader Package

Ground Rules:

  • This discussion is only about Foxit PDF Reader and the Foxit PDF 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 PDF 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