tis-pdfcreator

3.2.0-6
PDFCreator is an application for converting documents into Portable Document Format (PDF). It works by creating a virtual printer that prints to PDF files
4852 downloads
Download
See build result See VirusTotal scan
tis-pdfcreator icon
  • package : tis-pdfcreator
  • name : PDFCreator
  • version : 3.2.0-6
  • categories : Utilities
  • maintainer : WAPT Team,Jimmy PELÉ,Tranquil IT
  • editor : pdfforge GmbH
  • licence : proprietary_free,wapt_public
  • locale : all
  • target_os : windows
  • impacted_process : PDFCreator
  • architecture : all
  • signature_date : 2023-05-29 18:00
  • size : 28.13 Mo
  • installed_size : 45.60 Mo
  • homepage : https://www.pdfforge.org/
  • depends :
  • conflicts :
package           : tis-pdfcreator
version           : 3.2.0-6
architecture      : all
section           : base
priority          : optional
name              : PDFCreator
categories        : Utilities
maintainer        : WAPT Team,Jimmy PELÉ,Tranquil IT
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
depends           : tis-dotnetfx
conflicts         : tis-pdfcreator-classic
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.1
sources           : https://www.pdfforge.org/pdfcreator
installed_size    : 45595146
impacted_process  : PDFCreator
description_fr    : PDFCreator permet de convertir des fichiers imprimables en fichiers PDF en utilisant une imprimante virtuelle.
description_pl    : PDFCreator to aplikacja do konwersji dokumentów do formatu Portable Document Format (PDF). Jej działanie polega na stworzeniu wirtualnej drukarki, która drukuje do plików PDF
description_de    : PDFCreator ist eine Anwendung zur Konvertierung von Dokumenten in das Portable Document Format (PDF). Es funktioniert durch die Erstellung eines virtuellen Druckers, der in PDF-Dateien druckt
description_es    : PDFCreator es una aplicación para convertir documentos en formato de documento portátil (PDF). Funciona creando una impresora virtual que imprime en archivos PDF
description_pt    : PDFCreator é uma aplicação para conversão de documentos em Portable Document Format (PDF). Funciona através da criação de uma impressora virtual que imprime em ficheiros PDF
description_it    : PDFCreator è un'applicazione per la conversione di documenti in formato PDF (Portable Document Format). Funziona creando una stampante virtuale che stampa su file PDF
description_nl    : PDFCreator is een toepassing voor het converteren van documenten naar Portable Document Format (PDF). Het werkt door het creëren van een virtuele printer die afdrukt naar PDF-bestanden
description_ru    : PDFCreator - это приложение для преобразования документов в формат Portable Document Format (PDF). Оно работает путем создания виртуального принтера, который печатает в PDF-файлах
audit_schedule    : 
editor            : pdfforge GmbH
keywords          : pdf,virtual,printer,convert,documents,portable,format
licence           : proprietary_free,wapt_public
homepage          : https://www.pdfforge.org/
package_uuid      : 843c7890-587f-4cc4-94ba-53dd346c4d07
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 6.0
max_os_version    : 
icon_sha256sum    : 9d2df907dcd2f667d4a360c1502a4ac2a7e629e09813c58677ff9029e9730b2a
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : BW6tcRalItjmlKNHgwQWTi7r2HG05U1U+v38lyx3rTiyiE9mltXMBBX6MnC0ghqaeyYNpGk9OBBRYTvTpKqJ4iNRIKmEdGkTwW0gsDKc5SBlB5O5Fhu8GU1PjUUac4ux/2UFd7u8G9VCZltLqkORzua5XMThUbjs0jY1oajY4HXUKKq8Zc9f4i/OyOEZfhg9N4GECWeNi/XunAqyHI2Zc6bYneZBhEskTW4oUdTI0VjhM2U6pCFfv1WgPBIHYoxNdbgUhLflS2aNcG5caPjcFrVKND/bLmLtw5iqHFBkdrY9X7/FK6fWurov0i/ZURVhBzer5uhJlgFswTPPwENW7g==
signature_date    : 2023-05-29T18:00:14.743332
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
# -*- 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

def install():
    # Uninstalling other versions of the software
    for to_uninstall in installed_softwares(name="^PDFCreator$"):
        if Version(to_uninstall["version"]) != Version(control.get_software_version()) or force:
            print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
            try:
                killalltasks(control.get_impacted_process_list())
                run(uninstall_cmd(to_uninstall["key"]))
                wait_uninstallkey_absent(to_uninstall["key"])
            except Exception as e:
                print(e)
                print("Remove failed: %s (%s)\nContinuing..." % (to_uninstall["name"], to_uninstall["version"]))

    # Installing the package
    install_exe_if_needed(
        "PDFCreator-3_2_0-Setup.exe",
        silentflags='/VERYSILENT /NORESTART /LOADINF="install_options"',
        key="{0001B4FD-9EA3-4D90-A79E-FD14BA3AB01D}",
        min_version=control.get_software_version(),
    )


#     uninstallkey.clear()


# def uninstall():
#     silent_uninst_args = "/VERYSILENT /NORESTART"
#     uninst_path_x64 = makepath(programfiles, "PDFCreator", "unins001.exe")
#     uninst_path_x86 = makepath(programfiles, "PDFCreator", "unins000.exe")

#     if isfile(makepath(programfiles, "PDFCreator", "unins001.dat")):
#         run('"%s" %s' % (uninst_path_x64, silent_uninst_args))
#     else:
#         run('"%s" %s' % (uninst_path_x86, silent_uninst_args))


def session_setup():
    print("Disabling: automatic updates")
    registry_setstring(HKEY_CURRENT_USER, r"Software\pdfforge\PDFCreator\Settings\ApplicationSettings", "UpdateInterval", "Never")
    registry_setstring(HKEY_CURRENT_USER, r"Software\pdfforge\PDFCreator", "SkipVersion", "3.5.0")
# -*- coding: utf-8 -*-
from setuphelpers import *


def update_package():
    download_url = "http://srvtemplates.ad.tranquil.it/binary_cache/PDFCreator-3_2_0-Setup.exe"
    latest_bin = "PDFCreator-3_2_0-Setup.exe"
    sha256 = "6a966e31038f5b5904a65e8a4fcfe869ee434b59708d2740b879d6d48c9acb6f"
    wget(download_url, latest_bin, sha256=sha256)
6a966e31038f5b5904a65e8a4fcfe869ee434b59708d2740b879d6d48c9acb6f : PDFCreator-3_2_0-Setup.exe
e240418ef9964ddf878b3d277b584b51f393da665f2e6e8dd35eb307fad95e71 : setup.py
bfab8ce923959393f84abfce07a3c044edc78448c1d7f9094f3d4b405347ec24 : install_options
7b74ce5effb885b3838ccc4ccf1bb4987ddd9ec3ea2f96c9ee6bad38a69b3c0e : update_package.py
9d2df907dcd2f667d4a360c1502a4ac2a7e629e09813c58677ff9029e9730b2a : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
1a923a33355bc6cf55b340446c81337a90546692b8f42277f3dc69a50d59bfcf : WAPT/changelog.txt
a10f85b4fa173e789057e02ab53edb4c3ff9e9015d2ac63c7b73c9a74d88b8af : luti.json
40c9a717412b1afa37533cc71e0edac731666eca464ae99e114d3b3e7c0ec8e6 : WAPT/control
3.2.0-6
===
Uninstalling other versions of the software
Simplifying the code