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

Phil markham markham89 at hotmail.com
Tue Oct 27 18:49:46 CET 2015


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
-------------- section suivante --------------
Une pi�ce jointe HTML a �t� nettoy�e...
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20151027/de965377/attachment.html>


More information about the WAPT mailing list