Downloads:

2,555,965

Downloads of v 4.3.0:

3,628

Last Update:

17 Jun 2021

Package Maintainer(s):

Software Author(s):

  • pdfforge

Tags:

pdfcreator pdf editor printer foss notsilent

PDF Creator

  • 1
  • 2
  • 3

4.3.0 | Updated: 17 Jun 2021

Downloads:

2,555,965

Downloads of v 4.3.0:

3,628

Software Author(s):

  • pdfforge

  • 1
  • 2
  • 3
PDF Creator 4.3.0

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Exemption:

A reboot is required after installing the dotnet4.7.2 dependency

Details

Scan Testing Successful:

No detections found in any package files

Details

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

>

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

>

To uninstall PDF Creator, run the following command from the command line or from PowerShell:

>

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

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • 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. Enter your internal repository url

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

4. Choose your deployment method:


choco upgrade pdfcreator -y --source="'STEP 3 URL'" [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 pdfcreator -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Ensure pdfcreator installed
  win_chocolatey:
    name: pdfcreator
    state: present
    version: 4.3.0
    source: STEP 3 URL

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


chocolatey_package 'pdfcreator' do
  action    :install
  version  '4.3.0'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: pdfcreator,
    Version: 4.3.0,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller pdfcreator
{
   Name     = 'pdfcreator'
   Ensure   = 'Present'
   Version  = '4.3.0'
   Source   = 'STEP 3 URL'
}

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


package { 'pdfcreator':
  provider => 'chocolatey',
  ensure   => '4.3.0',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install pdfcreator version="4.3.0" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 19 Jun 2021.

Description

PDFCreator easily creates PDFs from any Windows program. Use it like a printer in Word, StarCalc or any other Windows application.

Features

  • Convert your documents to PDF, JPG, PNG, TIF and PDF/A
  • Merge and arrange multiple documents to one file
  • Profiles make frequently used settings available with one click
  • Use automatic saving to have a fully automated PDF printer
  • Secure against opening, printing or modifying your PDFs with a password
  • Support for digital signatures
  • COM interface for application or scripted actions

Notes

The installer has a few options that can be configured via the --ia switch:

  • /NOICONS - No desktop or Start Menu icons will be created
  • /TASKS=!winexplorer - No integration with explorer. (I.E. no context menu)
  • /Printername=(name) - Use a custom printer name (default: PDFCreator)

Example use: choco install pdfcreator --ia '"/NOICONS /TASKS=!winexplorer"'


legal\License.png
 
legal\LICENSE.txt
License is removed from source repository as such this file is empty.
According to their license page at <https://www.pdfforge.org/pdfcreator/license>
distribution is still allowed, and source code is still covered under the AGPL license.

See License.png for a copy/screenshot of the above webpage taken 2021-01-12.
legal\VERIFICATION.txt
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

The embedded software have been downloaded from the listed download
location on <http://download.pdfforge.org/download/pdfcreator/list>
and can be verified by doing the following:

1. Download the following <http://download.pdfforge.org/download/pdfcreator/PDFCreator-stable?download>
2. Get the checksum using one of the following methods:
  - Using powershell function 'Get-FileHash'
  - Use chocolatey utility 'checksum.exe'
3. The checksums should match the following:

  checksum type: sha256
  checksum: 7984A89D15343FDB9FD6BC1E3BCAB4E6680D664B80DF0390AC6B086B21536F29

The file 'LICENSE.txt' has been obtained from <https://github.com/pdfforge/PDFCreator/blob/dbbe3558157f5861bff35dcb37b328b679b0ccfd/LICENSE>
tools\chocolateyinstall.ahk
; This script will exit after 2 minutes (a slow download could cause failure)
SetTimer, TimeOut, 120000

DetectHiddenWindows, on
__Welcome:
; Welcome window
WinWait, Setup - PDFCreator, Welcome to the PDFCreator Setup Wizard
WinGet, appid, ID, Setup - PDFCreator, Welcome to the PDFCreator Setup Wizard
WinHide, ahk_id %appid%
; Expert settings checkbox
sleep, 100
ControlClick, TNewCheckBox1, ahk_id %appid%, Welcome to the PDFCreator Setup Wizard
sleep, 100
; Next button
ControlClick, &Next, ahk_id %appid%, Welcome to the PDFCreator Setup Wizard

__PrinterName:
; Printer Name window
WinWait, ahk_id %appid%, Printer name, 1
if ErrorLevel {
  if WinExist(ahk_id %appid%, Welcome to the PDFCreator Setup Wizard) {
    goto, __Welcome
  }
}
; Next button
ControlClick, &Next, ahk_id %appid%, Printer name

__Destination:
; Select destination window
WinWait, ahk_id %appid%, Select Destination Location, 1
if ErrorLevel {
  if WinExist(ahk_id %appid%, Printer name) {
    goto, __PrinterName
  }
}
; Next button
ControlClick, &Next, ahk_id %appid%, Select Destination Location

__Components:
; Select Components window
WinWait, ahk_id %appid%, Select Components, 1
if ErrorLevel {
  if WinExist(ahk_id %appid%, Select Destination Location) {
    goto, __Destination
  }
}
; Next button
ControlClick, &Next, ahk_id %appid%, Select Components

__StartMenu:
; Select Start Menu Folder window
WinWait, ahk_id %appid%, Select Start Menu Folder, 1
if ErrorLevel {
  if WinExist(ahk_id %appid%, Select Components) {
    goto, __Components
  }
}
; Next button
ControlClick, &Next, ahk_id %appid%, Select Start Menu Folder

__AdditionalTasks:
; Select Additional Tasks window
WinWait, ahk_id %appid%, Select Additional Tasks, 1
if ErrorLevel {
  if WinExist(ahk_id %appid%, Select Start Menu Folder) {
    goto, __StartMenu
  }
}
; Next button
ControlClick, &Next, ahk_id %appid%, Select Additional Tasks

__Ready:
; Ready to Install window
WinWait, ahk_id %appid%, Ready to Install, 1
if ErrorLevel {
  if WinExist(ahk_id %appid%, Select Additional Tasks) {
    goto, __AdditionalTasks
  }
}
; Install button
ControlClick, &Install, ahk_id %appid%, Ready to Install

__PDFArchitect:
; PDF Architect (Don't want) window
WinWait, ahk_id %appid%, PDF Architect, 1
if ErrorLevel {
  if WinExist(ahk_id %appid%, Ready to Install) {
    goto, __Ready
  }
}
; Next button
ControlClick, No thanks, ahk_id %appid%, PDF Architect

__OptionalOffer:
; Install Complete Optional Offer window (definitely don't want)
WinWait, Setup - PDFCreator, Installation Completed, 30
if ErrorLevel {
  if WinExist(ahk_id %appid%, PDF Architect) {
    goto, __OptionalOffer
  }
}
; Skip button
ControlClick, Skip, Setup - PDFCreator, Installation Completed

__Completing:
; Completing the PDFCreator Setup Wizard
WinWait, ahk_id %appid%, Completing the PDFCreator Setup Wizard, 1
if ErrorLevel {
  if WinExist(Setup - PDFCreator, Installation Completed) {
    goto, __OptionalOffer
  }
}
while WinExist(ahk_id %appid%, Completing the PDFCreator Setup Wizard) {
  sleep, 200
  ; Show Help checkbox
  ControlClick, TNewCheckListBox1, ahk_id %appid%, Completing the PDFCreator Setup Wizard
  sleep, 500
  ; Finish button
  ControlClick, &Finish, ahk_id %appid%, Completing the PDFCreator Setup Wizard
}

ExitApp

TimeOut:
ExitApp 120
tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

$installArgs = $('' +
  '/NORESTART /SUPPRESSMSGBOXES /SP- /LOG /LANG=english ' +
  '/COMPONENTS="program,ghostscript,comsamples,' +
  'languages,languages\bosnian,languages\catalan,languages\catalan_valencia,' +
  'languages\chinese_simplified,languages\chinese_traditional,' +
  'languages\corsican,languages\croatian,languages\czech,languages\danish,' +
  'languages\dutch,languages\english,languages\estonian,languages\finnish,' +
  'languages\french,languages\galician,languages\german,languages\greek,' +
  'languages\hebrew,languages\hungarian,languages\italian,languages\irish,' +
  'languages\ligurian,languages\latvian,languages\lithuanian,' +
  'languages\norwegian_bokmal,languages\polish,languages\portuguese_br,' +
  'languages\romanian,languages\russian,languages\serbian_cyrillic,' +
  'languages\slovak,languages\slovenian,languages\spanish,' +
  'languages\swedish,languages\turkish,languages\valencian_avl"'
)

$toolsPath = Split-Path -parent $MyInvocation.MyCommand.Definition

$packageArgs = @{
  packageName    = $env:ChocolateyPackageName
  fileType       = 'exe'
  file           = "$toolsPath\PDFCreator-4_3_0-Setup.exe.exe"
  softwareName   = 'PDFCreator'
  silentArgs     = $installArgs
  validExitCodes = @(0)
}

# Make sure Print Spooler service is up and running
# this is required for both installing, and running pdfcreator
try {
  $serviceName = 'Spooler'
  $spoolerService = Get-Service -Name $serviceName
  if ($spoolerService -eq $null) { throw "Service $serviceName was not found" }
  Write-Host "Print Spooler service state: $($spoolerService.StartMode) / $($spoolerService.Status)"
  if ($spoolerService.StartMode -ne 'Auto' -or $spoolerService.Status -ne 'Running') {
    Set-Service $serviceName -StartupType Automatic -Status Running
    Write-Host 'Print Spooler service new state: Auto / Running'
  }
}
catch {
  Write-Warning "Unexpected error while checking Print Spooler service: $($_.Exception.Message)"
}

$ThisComputer = Get-WmiObject -Class win32_computersystem

# silent install requires different methods for domain-joined systems
if ($ThisComputer.partofdomain -eq $true) {
   Write-Warning 'Silent install of PDFCreator is not supported on domain-joined systems like this one.'
   Write-Warning 'Silent install will be attempted, but is less certain.'
   $ahkFile = Join-Path $toolsPath 'chocolateyInstall.ahk'
   $ahkEXE = Get-ChildItem "$env:ChocolateyInstall\lib\autohotkey.portable" -Recurse -filter autohotkey.exe
   $ahkProc = Start-Process -FilePath $ahkEXE.FullName -ArgumentList "$ahkFile" -PassThru
   Write-Debug "AutoHotKey start time:`t$($ahkProc.StartTime.ToShortTimeString())"
   Write-Debug "Process ID:`t$($ahkProc.Id)"
} else {
   $packageArgs.SilentArgs = "/VERYSILENT $($packageArgs.SilentArgs)"
}

Install-ChocolateyInstallPackage @packageArgs

Get-ChildItem $toolsPath\*.exe | ForEach-Object {$null = New-Item "$_.ignore" -Type file -Force}

if ($ahkFile) {
   if (get-process -id $ahkProc.Id -ErrorAction SilentlyContinue) {stop-process -id $ahkProc.Id}
}
tools\chocolateyUninstall.ps1
$ErrorActionPreference = 'Stop'

$packageArgs = @{
  packageName    = $env:ChocolateyPackageName
  softwareName   = 'PDFCreator'
  fileType       = 'exe'
  silentArgs     = '/VERYSILENT /NORESTART /SP-'
  validExitCodes = @(0)
}

$uninstalled = $false

[array]$key = Get-UninstallRegistryKey @packageArgs

if ($key.Count -eq 1) {
  $key | ForEach-Object {
    $packageArgs['file'] = "$($_.UninstallString)"

    Uninstall-ChocolateyPackage @packageArgs
  }
}
elseif ($key.Count -eq 0) {
  Write-Warning "$packageName has already been uninstalled by other means."
}
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 the package maintainer that the following keys were matched:"
  $key | ForEach-Object { Write-Warning "- $($_.DisplayName)" }
}
tools\PDFCreator-4_3_0-Setup.exe.exe
md5: FDFD4059ABA90EDCDFA0E395B96F2D09 | sha1: 74703A77F2A21FE6CFBE96F27E5D1FB92370DE45 | sha256: 7984A89D15343FDB9FD6BC1E3BCAB4E6680D664B80DF0390AC6B086B21536F29 | sha512: F25A15452D8DBC82319AB9F2F7008630C065F91BDFB266D014CD21838D637CA59F3EBAD177B8D970038028E1CC19F09E47548F6627B51E23383EBC0C8EDAE633

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.

Version Downloads Last Updated Status
PDF Creator 4.2.0 191014 Tuesday, January 12, 2021 Approved
PDF Creator 4.1.2 248068 Thursday, July 30, 2020 Approved
PDF Creator 4.1.1 4562 Tuesday, July 28, 2020 Approved
PDF Creator 4.1.0 52443 Wednesday, June 10, 2020 Approved
PDF Creator 4.0.4 66740 Thursday, April 16, 2020 Approved
PDF Creator 4.0.3 17477 Thursday, April 2, 2020 Approved

Discussion for the PDF Creator Package

Ground Rules:

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