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 : 2018-02-27 19:06:44
  • 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')



    

Changelog

No changelog
    

manifest.sha256

[["WAPT/certificate.crt", "79e5388683c0b6cb03f4f81e4e58e3a11463b2b6cf169dd9c453098027dcfaa4"], ["WAPT/wapt.psproj", "b27851fc0b79ef01d48fe2b98b73296d741be5eb2a57e2a40fc8b05d1c7c0247"], ["PDFCreator-2_2_1-setup.exe", "1cc100bfd58a0b29a6eb5af9f49131d884fa8b1b10eb698f544cee03f9716f70"], ["tt.inf", "5cb9616fdb38e21f008f0c15e83eca545cc297a82bc59abced308c6538a7226c"], ["WAPT/control", "0da9cccc07e0b968a2e0e0e9e1898bd996c793676adf0bfa4f0148386331630c"], ["setup.py", "54acf9dcb7d0db3c7c527d9378854d78a47f9e88396e6982f6fcd637c4826812"], ["pdf.inf", "309e68e36c7f2473587b06b161f27445c6110b599ef1943fa6cd423e44bbe9b3"]]