[Wapt] déploiement de peazip, réglage qui ne s'applique pas à pourquoi ?
Fonteneau Simon
sfonteneau at stemarie-aizenay.fr
Tue Oct 27 19:47:06 CET 2015
Cela fonctionne dans pyscripter ?
Dans quelle ruche le fr.reg install t'il ses key ?
Simon
Le 27/10/2015 18:49, Phil markham a écrit :
> Bonjour,
>
> je tente en vain de déployer peazip en le prereglant en francais, mais
> celui, ne prend pas en compte les reglages :
> la langue française est specifier dans le ficher conf.txt que
> j'embarque dans le paquet, et le fr.reg que je tente d'executer
>
> si quelqu'un a un avis ?
>
>
>
> voila le setup.py :
>
>
> # -*- coding: utf-8 -*-
> from setuphelpers import *
>
> # registry key(s) where WAPT will find how to remove the application(s)
> uninstallkey = []
>
> # command(s) to launch to remove the application(s)
> uninstallstring = ['"C:\Program Files (x86)\PeaZip\unins000.exe"
> /VERYSILENT']
>
> # list of required parameters names (string) which can be used during
> install
> required_params = []
>
>
> def install():
> # if you want to modify the keys depending on environment
> (win32/win64... params..)
> global uninstallkey
> global uninstallstring
>
> print('installing tis-peazip')
> run(r'"peazip-5.8.1.WINDOWS.exe" /VERYSILENT')
> filecopyto('conf.txt','%s\\PeaZip' % programfiles32)
> run(r'regedit.exe /s %s\\peazip\\res\\lang-wincontext\\fr.reg' %
> programfiles32)
>
> def session_setup():
> if not os.path.exists('%s\\PeaZip' % application_data()):
> os.makedirs('%s\\PeaZip' % application_data())
> filecopyto('%s\\PeaZip\\conf.txt' % programfiles32, '%s\\PeaZip' %
> application_data())
>
>
>
>
> en vous remerrciant
>
>
> _______________________________________________
> WAPT mailing list
> WAPT at lists.tranquil.it
> http://lists.tranquil.it/listinfo/wapt
-------------- section suivante --------------
Une pi?ce jointe HTML a ?t? nettoy?e...
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20151027/e8d71144/attachment-0001.html>
More information about the WAPT
mailing list