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 : 2015-11-17 14:58:53
  • signer :
  • signature_date :
  • 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

[
 [
  "pdf.inf", 
  "fe3c1557a26a7f357c5b23edf728e797d69c8377"
 ], 
 [
  "PDFCreator-2_2_1-setup.exe", 
  "70e8c969380b407c729d004e4253284d1f11632a"
 ], 
 [
  "setup.py", 
  "ea288e932c9bd10b4bbda96549c8ce9fa3e21e3c"
 ], 
 [
  "tt.inf", 
  "758c22a5d593de3bf98f8d3d0bda31d471155e90"
 ], 
 [
  "WAPT\\control", 
  "1d6f516f81ebdccdc36a9e54ea9f8f4d7d3a8878"
 ], 
 [
  "WAPT\\wapt.psproj", 
  "4526d42d8727f0e891e8cf3a99e32b8ac627049c"
 ]
]