Détails du package
smp-photofiltre
Revenir à la liste des packages
Version officielle sur le site de l'editeur : failed
Fichier control :
package : smp-photofiltre
version : 7.2.1-13
architecture : all
section : base
priority : optional
name :
categories :
maintainer : Simon Fonteneau
description : Editeur d'image Photofiltre
depends :
conflicts :
maturity :
locale :
target_os : windows
min_os_version :
max_os_version :
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 : 41698bb7-6ccb-42fc-9c1e-ecf8a6e9aef3
valid_from :
valid_until :
forced_install_on :
changelog :
signer : wapt.lesfourmisduweb.org
signer_fingerprint: 1e54425be03a2a3ea1a264b40d984c31f17a6a489a3b722acb993cbf6561e903
signature : ifvgxSfv8Uk3uZLKbLoBd5YVp40D2EbrAjde/kKQFvsgAkU0+xo59uJbC0hTBDveBB19Yku/KiILGSvEIOL/WBgdTdcXzgZtluKm2OH5kxSiVTwN0yyRoeqW0HChrewFoFC7kZ/oAe/y5Q3+TUEj35HihhivZ7/4x9yJMdZg4rxqNx+uJbPSDbgm8dUgfq9K/X/8rA1eSiwUl+U4ihzcaZv0A39huaiJ67NLBLppHqd/jWikGT87dn8cxExK4JATsj6nWyTOiVgzFs+A/RicYgDlzgC3vsulWQaMS9LcW9YXhY8y/yiQweZoFufG48TP5u622YCOmbSvYXXfVptSCQ==
signature_date : 2020-07-04T01:21:08.253508
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_os_version,max_os_version,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,signer,signer_fingerprint,signature_date,signed_attributes
Fichier setup.py :
# -*-coding: utf-8 -*-
from setuphelpers import *
uninstallkey=[]
def install():
listpfd = []
for pfd in local_desktops():
if isfile(makepath(pfd,'PhotoFiltre 7.lnk')):
listpfd.append(makepath(pfd,'PhotoFiltre 7.lnk'))
print(listpfd)
versionsoft = '7.2.1.0'
def need_install_pf(versionsoft):
if isfile(makepath(programfiles32,'PhotoFiltre 7','PhotoFiltre7.exe')):
versionexe = get_file_properties(makepath(programfiles32,'PhotoFiltre 7','PhotoFiltre7.exe'))['FileVersion']
if Version(versionexe) >= Version(versionsoft) :
return False
return True
if need_install_pf(versionsoft):
killalltasks('PhotoFiltre7')
run('"pf7-setup-fr.exe" /S')
else:
print('Photofiltre7 already install')
if need_install_pf(versionsoft):
error('Error PhotoFiltre7.exe not found or Version not good')
print(control.package)
register_uninstall('PhotoFiltre',uninstallstring='wapt-get remove %s' % control.package ,win64app=False,quiet_uninstall_string='wapt-get remove %s' % control.package ,install_location = makepath(programfiles32,'PhotoFiltre 7'), display_name='Photofiltre 7',display_version=versionsoft,publisher='Antonio Da Cruz')
registry_deletekey(HKEY_CURRENT_USER,'Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall','PhotoFiltre 7')
for pfd in local_desktops():
if isfile(makepath(pfd,'PhotoFiltre 7.lnk')):
if not makepath(pfd,'PhotoFiltre 7.lnk') in listpfd:
remove_file(makepath(pfd,'PhotoFiltre 7.lnk'))
create_programs_menu_shortcut('PhotoFiltre 7',target=makepath(programfiles32,'PhotoFiltre 7','PhotoFiltre7.exe'),wDir=makepath(programfiles32,'PhotoFiltre 7'),icon=makepath(programfiles32,'PhotoFiltre 7','PhotoFiltre7.exe'),folder='PhotoFiltre 7')
def uninstall():
run('"%s" /S' % (makepath(programfiles32,'PhotoFiltre 7','Uninst.exe')))
unregister_uninstall('PhotoFiltre')
remove_programs_menu_shortcut('PhotoFiltre 7',folder='PhotoFiltre 7')