Chocolatey Fest - Chocolatey's inaugural conference on Windows Automation (WinOps) is coming - Learn more!

Foxit Reader

Package test results are passing.

This package was approved as a trusted package on 6/11/2018.

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
You might be especially interested in the "tasks" and "components" sections.
The FoxitReader-specific tasks and components from which you can choose from are:

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.

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

C:\> choco install foxitreader

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

C:\> choco upgrade foxitreader


  • tools\chocolateyInstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    # See the comments in
    # on the '/de/' part.
    $url32       = ''
    $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)"}
    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
    	Install-CurrentVersion $installerPath
    finally {
    	if (-not ($null -eq $tmpDirectory)) {
    		Remove-Item $tmpDirectory -Recurse -Force

Virus Scan Results

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.


This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • Foxit Software Incorporated


Release Notes

Version History

Version Downloads Last updated Status
Foxit Reader 96486 Saturday, May 12, 2018 approved
Foxit Reader 53460 Thursday, April 5, 2018 approved
Foxit Reader 9511 Wednesday, April 4, 2018 approved
Foxit Reader 95765 Friday, January 5, 2018 approved
Foxit Reader 27211 Monday, December 18, 2017 approved
Foxit Reader 47508 Wednesday, November 1, 2017 approved
Foxit Reader 20924 Friday, September 1, 2017 approved
Foxit Reader 17680 Wednesday, July 19, 2017 approved
Foxit Reader 22465 Monday, May 8, 2017 approved
Show More

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 uses cookies to enhance the user experience of the site.