tis-pdfcreator 2.2.1-3

  • package : tis-pdfcreator
  • version : 2.2.1-3
  • description : Imprimante virtuelle pour créer des fichiers PDF Installation sans publicités et bandeaux Basé sur ghostscript
  • maintainer : TIS <technique@tranquil-it-systems.fr>
  • date : 2017-07-20 11:23:37
  • signer : TRANQUIL IT SYSTEMS
  • signature_date : 20170720-112337
  • min_os_version :
  • min_wapt_version :
  • Depends :

setup.py

#!/usr/bin/python
# -*- coding: utf-8 -*-

from setuphelpers import *
import os
import glob

uninstallkey=[]

def install():
    oldpdf = installed_softwares('pdfcreator')
    for prog in oldpdf:
        if Version(prog['version'])<>Version('2.2.1'):
            print('Removing PDFCreator %s' %prog['version'])
            run('"%s"  /VERYSILENT /NORESTART /SUPPRESSMSGBOXES' % prog['uninstall_string'])

    # See http://docs.pdfforge.org/pdfcreator/2.0/en/installing-pdfcreator/setup-command-line-parameters/
    open('pdf2.inf','w').write(open('pdf.inf','r').read() % {'programfiles32':programfiles})
    install_exe_if_needed('PDFCreator-2_2_1-setup.exe','/FORCEINSTALL /VERYSILENT /NORESTART /LOADINF="pdf2.inf"', \
        key = '{0001B4FD-9EA3-4D90-A79E-FD14BA3AB01D}', min_version = '2.2.1', accept_returncodes=[0,-100,1603,3010])
    remove_file('pdf2.inf')



    

manifest

[["WAPT/certificate.crt", "0db563dc9077b268ca07ba834322d0fc5e21f8e5"], ["WAPT/wapt.psproj", "4526d42d8727f0e891e8cf3a99e32b8ac627049c"], ["PDFCreator-2_2_1-setup.exe", "70e8c969380b407c729d004e4253284d1f11632a"], ["tt.inf", "758c22a5d593de3bf98f8d3d0bda31d471155e90"], ["WAPT/control", "9fe476c32b0c35978bb7d80fd9dc3668fff03537"], ["setup.py", "ea288e932c9bd10b4bbda96549c8ce9fa3e21e3c"], ["pdf.inf", "fe3c1557a26a7f357c5b23edf728e797d69c8377"]]