Notices: This section not yet converted to new layout. Download stats are rolling back out.

PDF-XChange Editor

6.0.322.7

Package test results are passing.

This package was approved as a trusted package on 8/14/2017.

Designed for anyone from home users to large corporate environments that wish to View/Edit/Modify and even OCR Image based PDF files on their Windows PC's. There is now a FREE pdf reader alternative to the Adobe Reader that truly raises the bar! The PDF-XChange Editor is smaller, faster and more feature rich than any other FREE PDF Reader/ PDF Viewer/ PDF Editor available on the market. This free pdf editor download also allows users to try the extended functionality offered by the licensed PDF-XChange Editor in evaluation mode - for free. No PDF reader or Viewer offers more features than PDF-XChange - or does so without compromising performance, quality or security.

Package Parameters

The following package parameters can be set:

  • /NoDesktopShortcuts - Do not create shortcut on desktop.
  • /NoUpdater - Do not install updater service.
  • /NoViewInBrowsers - Do not configure to open PDF files inside browsers.
  • /NoSetAsDefault - Do not set as default application for PDF files.
  • /NoProgramsMenuShortcuts - Do not create program menu group for installed application and their components.

These parameters can be passed to the installer with the use of -params.
For example: -params '"/NoDesktopShortcuts"'.

To install PDF-XChange Editor, run the following command from the command line or from PowerShell:

C:\> choco install pdfxchangeeditor

To upgrade PDF-XChange Editor, run the following command from the command line or from PowerShell:

C:\> choco upgrade pdfxchangeeditor

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $ErrorActionPreference = 'Stop'; # stop on all errors
    $packageName = 'PDFXchangeEditor' 
    $toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    $version    = $env:ChocolateyPackageVersion
    $primaryDownloadUrl = "http://downloads.pdf-xchange.com/EditorV6.x86.msi"
    $primaryDownloadUrl64 = "http://downloads.pdf-xchange.com/EditorV6.x64.msi"
    $url        = "http://www.docu-track.co.uk/builds/$version/EditorV6.x86.msi"
    $url64      = "http://www.docu-track.co.uk/builds/$version/EditorV6.x64.msi"
    $checksum   = '1794B4E7A5EF58F17BF027CA20F8271452FA4D5DC564CF51B054A33E3B112E52'
    $checksum64 = '4C572AE3A0D17D6F079FE4195066744C7D1CC1800B430BC00DB530DCDF47A2EA'
    $lastModified32 = New-Object -TypeName DateTimeOffset 2017, 8, 11, 22, 20, 10, 0 # Last modified time corresponding to this package version
    $lastModified64 = New-Object -TypeName DateTimeOffset 2017, 8, 11, 22, 19, 43, 0 # Last modified time corresponding to this package version
    
    # Tracker Software have fixed download URLs, but if the binary changes we can fall back to their alternate (but slower) download site
    # so the package doesn't break.
    function CheckDownload($url, $primaryDownloadUrl, [DateTimeOffset] $packageVersionLastModified)
    {
        $headers = Get-WebHeaders -url $primaryDownloadUrl
        $lastModifiedHeader = $headers.'Last-Modified'
    
        $lastModified = [DateTimeOffset]::Parse($lastModifiedHeader, [Globalization.CultureInfo]::InvariantCulture)
    
        Write-Verbose "Package LastModified: $packageVersionLastModified"
        Write-Verbose "HTTP Last Modified  : $lastModified"
    
        if ($lastModified -ne $packageVersionLastModified) {
            Write-Warning "The download available at $primaryDownloadUrl has changed from what this package was expecting. Falling back to FTP for version-specific URL"
            $url
        } else {
            Write-Verbose "Primary URL matches package expectation"
            $primaryDownloadUrl
        }
    }
    
    $url = CheckDownload $url $primaryDownloadUrl $lastModified32
    $url64 = CheckDownload $url64 $primaryDownloadUrl64 $lastModified64
    
    $packageArgs = @{
      packageName   = $packageName
      unzipLocation = $toolsDir
      fileType      = 'MSI'
      url           = $url
      url64bit      = $url64
      silentArgs = '/quiet /norestart'
      validExitCodes= @(0, 3010, 1641)
    
      softwareName  = 'PDF-XChange Editor'
    
      checksum = $checksum
      checksumType  = 'sha256' 
      checksum64 = $checksum64
      checksumType64= 'sha256' 
    }
    
    $arguments = @{}
    
    $packageParameters = $env:chocolateyPackageParameters
    
    if ($packageParameters) {
        $match_pattern = "\/(?<option>([a-zA-Z]+)):(?<value>([`"'])?([a-zA-Z0-9- _\\:\.]+)([`"'])?)|\/(?<option>([a-zA-Z]+))"
        $option_name = 'option'
        $value_name = 'value'
    
        if ($packageParameters -match $match_pattern ){
            $results = $packageParameters | Select-String $match_pattern -AllMatches
            $results.matches | ForEach-Object {
            $arguments.Add(
                $_.Groups[$option_name].Value.Trim(),
                $_.Groups[$value_name].Value.Trim())
        }
        }
        else
        {
            Throw "Package Parameters were found but were invalid (REGEX Failure)"
        }
    
        # http://help.tracker-software.com/EUM/default.aspx?pageid=PDFXEdit3:switches_for_msi_installers
        $customArguments = @{}
    
        if ($arguments.ContainsKey("NoDesktopShortcuts")) {
            Write-Host "You want NoDesktopShortcuts"
            $customArguments.Add("DESKTOP_SHORTCUTS", "0")
        }
    
        if ($arguments.ContainsKey("NoUpdater")) {
            Write-Host "You want NoUpdater"
            $customArguments.Add("NOUPDATER", "1")
        }
    
        if ($arguments.ContainsKey("NoViewInBrowsers")) {
            Write-Host "You want NoViewInBrowsers"
            $customArguments.Add("VIEW_IN_BROWSERS", "0")
        }
    
        if ($arguments.ContainsKey("NoSetAsDefault")) {
            Write-Host "You want NoSetAsDefault"
            $customArguments.Add("SET_AS_DEFAULT", "0")
        }
    
        if ($arguments.ContainsKey("NoProgramsMenuShortcuts")) {
            Write-Host "You want NoProgramsMenuShortcuts"
            $customArguments.Add("PROGRAMSMENU_SHORTCUTS", "0")
        }
    
    } else {
        Write-Debug "No Package Parameters Passed in"
    }
    
    if ($customArguments.Count) { 
        $packageArgs.silentArgs += " " + (($customArguments.GetEnumerator() | ForEach-Object { "$($_.Name)=$($_.Value)" } ) -join " ")
    }
    
    Install-ChocolateyPackage @packageArgs
    

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.

Dependencies

This package has no dependencies.

Maintainer(s)

Software Author(s)

  • Tracker Software

Copyright

1997-2017 Tracker Software Products

Tags

Release Notes

Requires maintenance through 2017-06-29

Version History

Version Downloads Last updated Status
PDF-XChange Editor 6.0.322.6 625 Thursday, August 10, 2017 approved
PDF-XChange Editor 6.0.322.5 1392 Saturday, July 15, 2017 approved
PDF-XChange Editor 6.0.321 3655 Tuesday, March 21, 2017 approved
PDF-XChange Editor 6.0.318.1 4633 Monday, September 26, 2016 approved
PDF-XChange Editor 6.0.318.0 989 Thursday, September 15, 2016 approved
PDF-XChange Editor 6.0.317.2 730 Thursday, August 25, 2016 approved
PDF-XChange Editor 6.0.317.1 550 Tuesday, April 26, 2016 approved
PDF-XChange Editor 6.0.317 194 Monday, April 18, 2016 approved
PDFXchangeEditor 3.0.302 1324 Thursday, June 20, 2013 approved

Discussion for the PDF-XChange Editor Package

Ground rules:

  • This discussion is only about PDF-XChange Editor and the PDF-XChange Editor 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 PDF-XChange Editor, 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