tis-pdfcreator-classic 1.7.3-11

  • package : tis-pdfcreator-classic
  • version : 1.7.3-11
  • description : Imprimante virtuelle pour créer des fichiers PDF Installation sans publicités et bandeaux Basé sur ghostscript. Version 1.7 plus legere qui ne necessite pas dotnetfx4.0
  • maintainer : TIS <technique@tranquil-it-systems.fr>
  • date : 2017-07-20 15:56:04
  • signer : TRANQUIL IT SYSTEMS
  • signature_date : 20170720-155604
  • min_os_version :
  • min_wapt_version :

setup.py

#!/usr/bin/python
# -*- coding: utf-8 -*-
# -----------------------------------------------------------------------
#    This file is part of WAPT
#    Copyright (C) 2013  Tranquil IT Systems http://www.tranquil.it
#    WAPT aims to help Windows systems administrators to deploy
#    setup and update applications on users PC.
#
#    WAPT is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#
#    WAPT is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with WAPT.  If not, see <http://www.gnu.org/licenses/>.
#
# -----------------------------------------------------------------------
from setuphelpers import *

uninstallkey=[]

def install():
    oldpdf = installed_softwares('pdfcreator')
    for pdf in oldpdf:
        if pdf['version'] != '1.7.3':
            print('Uninstall pdfcreator %s' % pdf['version'])
            run('"%s"  /VERYSILENT /NORESTART /SUPPRESSMSGBOXES' % pdf['uninstall_string'])

    # See http://en.pdfforge.org/content/setup-command-line-parameters
    open('pdf2.inf','w').write(open('pdf.inf','r').read() % {'programfiles32':programfiles32})
    run(r'PDFCreator-1_7_3_setup /forceinstall /VERYSILENT /NORESTART /LOADINF="pdf2.inf"',accept_returncodes=[0,-100,1603,3010])
    remove_file('pdf2.inf')
    uninstallkey.append('{0001B4FD-9EA3-4D90-A79E-FD14BA3AB01D}')


    

manifest

[["WAPT/icon.png", "9cb0474d485da2a94d68aeee8178bf9e5403c4b2"], ["WAPT/certificate.crt", "0db563dc9077b268ca07ba834322d0fc5e21f8e5"], ["WAPT/wapt.psproj", "4526d42d8727f0e891e8cf3a99e32b8ac627049c"], ["pdf.inf", "e19ca8d37baaa6bfb38e1e83cf0f29725d83c540"], ["WAPT/control", "d0d6777a7d74876445f06cc797e25b717171d600"], ["setup.py", "80303e8162b007401ec4ea932c655610600632d3"], ["PDFCreator-1_7_3_setup.exe", "e2c028a886aa7352539dee32cbb38770c529a76e"]]