Downloads:

3,495

Downloads of v 7.10:

0

Last Update:

07 Dec 2019

Package Maintainer(s):

Software Author(s):

  • Fineprint Software

Tags:

pdffactorypro-workstation admin pdf printer letterhead

pdfFactory Pro Workstation (Install)

7.10 | Updated: 07 Dec 2019

Downloads:

3,495

Downloads of v 7.10:

0

Maintainer(s):

Software Author(s):

  • Fineprint Software

pdfFactory Pro Workstation (Install) 7.10

This Package Contains an Exempted Check

1 Test Passing and 1 Exempted Test


Validation Testing Passed


Verification Testing Exempt:

This is a Windows client OS only install. It doesn't install on Server OS.

To install pdfFactory Pro Workstation (Install), run the following command from the command line or from PowerShell:

>

To upgrade pdfFactory Pro Workstation (Install), run the following command from the command line or from PowerShell:

>

To uninstall pdfFactory Pro Workstation (Install), 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://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://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade pdffactorypro-workstation -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 pdffactorypro-workstation -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 pdffactorypro-workstation installed
  win_chocolatey:
    name: pdffactorypro-workstation
    state: present
    version: 7.10
    source: STEP 3 URL

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

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'pdffactorypro-workstation' do
  action    :install
  version  '7.10'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: pdffactorypro-workstation,
    Version: 7.10,
    Source: STEP 3 URL
);

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


cChocoPackageInstaller pdffactorypro-workstation
{
   Name     = 'pdffactorypro-workstation'
   Ensure   = 'Present'
   Version  = '7.10'
   Source   = 'STEP 3 URL'
}

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


package { 'pdffactorypro-workstation':
  provider => 'chocolatey',
  ensure   => '7.10',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install pdffactorypro-workstation version="7.10" 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 07 Dec 2019.

Description

Easy, reliable PDF creation from all applications.

You can pass the following parameters:

  • UI language: /lang:[LANGUAGE]
  • License code: /license:[YOUR LICENSE CODE]
  • Name of the license holder - this is ignored if no license code has been specified: /name:"[YOUR NAME]"
  • Printer margins in 1/100th of an inch: /margins:"[TOP] [RIGHT] [BOTTOM] [LEFT]"

Available languages are:

  • Chinese (Simplified): zh-CN
  • Chinese (Traditional): zh-TW
  • Czech: cs
  • Danish: da
  • Dutch: nl
  • English: en
  • French: fr
  • German: de
  • Italian: it
  • Japanese: ja
  • Polish: pl
  • Portuguese: pt
  • Russian: ru
  • Slovak: sk
  • Spanish: es
  • Swedish: sv

Example:

-params '"/lang:en /license:ABCDE-12345-FGHIJ /name:""John Doe"" /margins:""0 0 0 0"""'

NOTE: This package installs a printer driver. If you have UAC prompts enabled, you will need to confirm the driver installation.

NOTE: This is an automatically updated package. If you find it is out of date by more than a week, please contact the maintainer(s) and let them know the package is no longer updating correctly.


tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop'; # stop on all errors

$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$packageArgs = @{
    packageName   = $env:ChocolateyPackageName
    unzipLocation = $toolsDir
    fileType      = 'EXE'
    url           = 'https://fineprint.com/release/pdf710pro.exe'
    checksum      = 'ac67a64d47b469c05c96ea80ea36e4c0635d38d67e714721fa6d60d387cb8cb4'
    checksumType  = 'SHA256'
    silentArgs = '/quiet /reboot=0'
    validExitCodes= @(0)
}

Write-debug "OS Name: $($env:OS_NAME)"
if ($env:OS_NAME -like "*Server*") {
    throw "Cannot be installed on a Server operating system ($($env:OS_NAME))."
}

# create temp directory
do {
    $tempDir = Join-Path -Path $env:TEMP -ChildPath ([System.Guid]::NewGuid().ToString())
} while (Test-Path $tempDir)
New-Item -ItemType Directory -Path $tempDir | Out-Null

# Get installer and unzip it
$packageArgs.file = Join-Path $tempDir "$($packageName)Install.exe"
Get-ChocolateyWebFile @packageArgs
Get-ChocolateyUnzip -FileFullPath $packageArgs.file -Destination $tempDir

# recurse through the args
$arguments = Get-PackageParameters -Parameter $env:ChocolateyPackageParameters
$packageArgs.file = Join-Path -Path $tempDir -ChildPath 'setup.exe'
$paramLang = $paramName = $paramLicenseCode = $paramMargins = "<NOT SPECIFIED>"
$languageMap = @{ 
    "zh-CN" = "0804"
    "zh-TW" = "0404"
    "cs"    = "0405"
    "da"    = "0406"
    "nl"    = "0413"
    "en"    = "0409"
    "fr"    = "040c"
    "de"    = "0407"
    "it"    = "0410"
    "ja"    = "0411"
    "pl"    = "0415"
    "pt"    = "0416"
    "ru"    = "0419"
    "sk"    = "041b"
    "es"    = "0c0a"
    "sv"    = "041d"
}
$iniFile = Join-Path -Path $tempDir -ChildPath "fpp6.ini"

if($arguments.ContainsKey("lang")) {
    $paramLang = $arguments["lang"]
    if(!$languageMap.ContainsKey($paramLang)) {
        throw "Unknown language '$paramLang' specified. The following languages are available:`n" + $languageMap.Keys -join "`n"
    }
    $packageArgs.silentArgs += " /lang=" + $languageMap[$paramLang]
}

if($arguments.ContainsKey("license")) {
    $paramLicenseCode = $arguments["license"]
    
    if($arguments.ContainsKey("name")) {
        $paramName = $arguments["name"]
    }
    else {
        $paramName = ''
    }

@"
[Settings]
Name=$paramName
SerialNumber=$paramLicenseCode
"@ | Out-File $iniFile
}

if($arguments.ContainsKey("margins")) {
    if ($arguments["margins"] -match "\d \d \d \d") {
        $result = $arguments["margins"] | Select-String "\d \d \d \d"
        $paramMargins = $result.matches.value -split(" ") | ForEach-Object { [int]$_ }

        "[Registry]" | Out-File -Filepath $iniFile -Append
        "HKCU\Software\FinePrint Software\pdfFactory5\FinePrinters\pdfFactory Pro\PrinterDriverData\MarginLeft=$($paramMargins[3])" | Out-File -Filepath $iniFile -Append
        "HKCU\Software\FinePrint Software\pdfFactory5\FinePrinters\pdfFactory Pro\PrinterDriverData\MarginTop=$($paramMargins[0])" | Out-File -Filepath $iniFile -Append
        "HKCU\Software\FinePrint Software\pdfFactory5\FinePrinters\pdfFactory Pro\PrinterDriverData\MarginRight=$($paramMargins[1])" | Out-File -Filepath $iniFile -Append
        "HKCU\Software\FinePrint Software\pdfFactory5\FinePrinters\pdfFactory Pro\PrinterDriverData\MarginBottom=$($paramMargins[2])" | Out-File -Filepath $iniFile -Append
   }
   else {
       throw "Incorrect number of margin values specified. Please specify four numbers, separated by spaces, e.g. /margins:`"0 0 0 0`". You specified: '$marginsParameter'"
   }
}

Write-Debug "Parameters:`n`tLanguage: $paramLang`n`tLicense:  $paramLicenseCode`n`tName:`t  $paramName`n`tMargins:  $paramMargins"
Install-ChocolateyInstallPackage @packageArgs

Remove-Item -Path $tempDir -Recurse -ErrorAction SilentlyContinue
tools\chocolateyUninstall.ps1
$ErrorActionPreference = 'Stop'

$packageArgs = @{
    packageName    = $env:ChocolateyPackageName
    softwareName   = 'pdfFactory Pro'
    fileType       = 'EXE'
    silentArgs     = '/uninstall /quiet /reboot=0'
    validExitCodes = @(1)
}

[array]$key = Get-UninstallRegistryKey @packageArgs
if ($key.Count -eq 1) {
    $key | ForEach-Object { 
        # some uninstall strings include parameters - remove them as we will use our own
        $packageArgs.file = "$($_.UninstallString)" -replace '/.*$', ''

        if ($packageArgs.fileType -eq 'MSI') {
            $packageArgs.silentArgs = "$($_.PSChildName) $($packageArgs.silentArgs)"
            $packageArgs.file = ''
        }

        Uninstall-ChocolateyPackage @packageArgs
    }
}
elseif ($key.Count -eq 0) {
    Write-Warning "$env:ChocolateyPackageName 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 package maintainer the following keys were matched:"
    $key | ForEach-Object {
        Write-Warning "- $_.DisplayName"
    }
}

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
pdfFactory Pro Workstation (Install) 7.07 19 Saturday, November 16, 2019 Approved
pdfFactory Pro Workstation (Install) 7.06 14 Tuesday, November 5, 2019 Approved
pdfFactory Pro Workstation (Install) 7.05 12 Thursday, October 31, 2019 Approved
pdfFactory Pro Workstation (Install) 7.03 30 Tuesday, September 24, 2019 Approved
pdfFactory Pro Workstation (Install) 7.02 40 Thursday, August 8, 2019 Approved
pdfFactory Pro Workstation (Install) 7.01 36 Friday, July 26, 2019 Approved
pdfFactory Pro Workstation (Install) 7.00 45 Monday, July 15, 2019 Approved
pdfFactory Pro Workstation (Install) 6.37 54 Thursday, March 28, 2019 Approved
pdfFactory Pro Workstation (Install) 6.36 79 Tuesday, December 18, 2018 Approved

Discussion for the pdfFactory Pro Workstation (Install) Package

Ground Rules:

  • This discussion is only about pdfFactory Pro Workstation (Install) and the pdfFactory Pro Workstation (Install) 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 pdfFactory Pro Workstation (Install), 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