[Wapt] déploiement de peazip, réglage qui ne s'applique pas à pourquoi ?

Fonteneau Simon sfonteneau at stemarie-aizenay.fr
Tue Oct 27 20:03:29 CET 2015


Une piste en tout cas pour le menu :

http://sourceforge.net/projects/peazip/files/Translations/Translated%20context%20menu%20(W7%2B)/

Simon


Le 27/10/2015 19:55, Phil markham a écrit :
>
>  Bonjour,
> le fichier fr.reg traduit les entrées du menu contextuel,
> il office dans HKEY_CLASSES_ROOT
>
> conf.txt  :
> contient la config de l'utilisateur, j'esperais qu'en la copiant dans 
> son emplacement, peazip le prendrais en compte, mais en fait non tout 
> reste en anglais.
>
>>
>>
>> Le 27/10/2015 19:47, Fonteneau Simon a écrit :
>>> 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
>>>
>>>
>>>
>>> _______________________________________________
>>> WAPT mailing list
>>> WAPT at lists.tranquil.it
>>> http://lists.tranquil.it/listinfo/wapt
>>
>
>
>
> _______________________________________________
> 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/30bca775/attachment.html>


More information about the WAPT mailing list