tis-pdfcreator

3.2.0-4
PDFCreator is an application for converting documents into Portable Document Format (PDF). It works by creating a virtual printer that prints to PDF files.
7233 downloads
Download

  Description 

  • package : tis-pdfcreator
  • version : 3.2.0-4
  • architecture : all
  • categories : Utilities
  • maintainer : WAPT Team,Jimmy PELÉ
  • description : PDFCreator is an application for converting documents into Portable Document Format (PDF). It works by creating a virtual printer that prints to PDF files.
  • locale : all
  • target_os : windows
  • min_os_version : 6.0
  • max_os_version :
  • min_wapt_version : 1.5
  • sources : https://store.wapt.fr/store/tis-pdfcreator
  • installed_size : 48074752
  • impacted_process : PDFCreator.exe
  • description_fr : PDFCreator permet de convertir des fichiers imprimables en fichiers PDF en utilisant une imprimante virtuelle.
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor : pdfforge GmbH
  • licence : AGPL
  • signature_date : 2020-02-27T21:39:28.482643
  • Homepage : http://www.pdfforge.org/
  • Depends :
  • Conflicts :

  Setup.py 

# -*- coding: utf-8 -*-
from setuphelpers import *

#https://forums.pdfforge.org/t/echec-mise-a-jour-pdf-creator-en-ligne-de-commande/13553/4
#{0001B4FD-9EA3-4D90-A79E-FD14BA3AB01D}     PDFCreator  3.2.0   C:\Program Files\PDFCreator\unins000.exe

uninstallkey = []

# Declaring specific app values (TO CHANGE)
bin_name = 'PDFCreator-3_2_0-Setup.exe'
silent_args = '/VERYSILENT /NORESTART /LOADINF="install_options"'
silent_uninst_args = '/VERYSILENT /NORESTART'
uninst_path = makepath(programfiles,'PDFCreator','unins000.exe')
uninstall_key = '{0001B4FD-9EA3-4D90-A79E-FD14BA3AB01D}'


def install():
    print('installing %s' % control.asrequirement())

    # Specific app values
    package_version = control.version.split('-',1)[0]

    # Uninstalling older PDF Creator versions
    check_installed = installed_softwares(name='PDFCreator')
    #print(check_installed)

    for uninstall in check_installed:
        if uninstall['version'] < package_version:
            print('Removing %s' % uninstall['name'])
            cmd = uninstall_cmd(uninstall['key'])
            run(cmd)
            print('If the installation failed after this message that probably mean that the computer is in reboot pending phase')

	# Getting the used storage on programfiles before installation (place it on the top)
    get_disk_free_space_before = get_disk_free_space(programfiles)

    # Installing the package
    install_exe_if_needed(bin_name
        ,silentflags=silent_args
        ,key=uninstall_key
        ,min_version=package_version)

	# Return used storage of the program. (place it on the bottom)
    get_disk_free_space_after = get_disk_free_space(programfiles)
    free_space_after_diff = get_disk_free_space_before - get_disk_free_space_after
    print("Storage used: " + str(free_space_after_diff))


def uninstall():
    print('uninstalling %s' % control.asrequirement())
    run('"%s" %s' % (uninst_path,silent_uninst_args))


def session_setup():
    print('Session setup for %s' % control.asrequirement())
    print('Disabling: Updates')
    registry_setstring(HKEY_CURRENT_USER,'Software\pdfforge\PDFCreator\Settings\ApplicationSettings','UpdateInterval','Never')
    registry_setstring(HKEY_CURRENT_USER,'Software\pdfforge\PDFCreator','SkipVersion','3.5.0')


def update_package():
    # Do not update this package, the lastest silent installable PDFCreator is 3.2.0
    pass
										

  Changelog 


No changelog
  manifest.sha256 
[["install_options","bfab8ce923959393f84abfce07a3c044edc78448c1d7f9094f3d4b405347ec24"],["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],["WAPT/wapt.psproj","510d3af6fcf8f2eae5db684bb830ea9845576e76872b9b10854efaea6e4a4cd8"],["WAPT/control","8f6b4c02c68d606e59a5229a1870908118b8c8e7c31e5fe5fd7bd9b8eca75332"],["PDFCreator-3_2_0-Setup.exe","6a966e31038f5b5904a65e8a4fcfe869ee434b59708d2740b879d6d48c9acb6f"],["setup.py","94102222ed507ce63683bb16d6abcc3c4eaac1493dd5b62e5af398c50c22a771"],["README.md","7d5d528685a5c94b7d6e1eaf169a0532ae748433c7d8e7ffbce0d160e2262876"],["Jenkinsfile","d3442f953e2bc03096f7f43c54aa30f16c06f844e42861efa28181377944d00d"]]