<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
run(r'regedit.exe /s %s\\peazip\\res\\lang-wincontext\\fr.reg' %
programfiles32)<br>
<br>
Doit être remplacée par :<br>
<br>
run(r'regedit.exe /s "%s\\peazip\\res\\lang-wincontext\\fr.reg"' %
programfiles32)<br>
<br>
Program files comporte un espace donc le chemin doit comporter des
guillemets<br>
<br>
regedit.exe fonctionne bien en compte system<br>
<br>
Simon<br>
<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">Le 27/10/2015 20:13, Phil markham a
écrit :<br>
</div>
<blockquote cite="mid:562FCCE0.4080506@hotmail.com" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
ok merci,<br>
<br>
par contre est ce que regedit fonctionne bien en compte system ?<br>
est ce que ma syntaxe est bonne ?<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">Le 27/10/2015 20:03, Fonteneau Simon
a écrit :<br>
</div>
<blockquote cite="mid:562FCA81.5000203@stemarie-aizenay.fr"
type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
Une piste en tout cas pour le menu :<br>
<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://sourceforge.net/projects/peazip/files/Translations/Translated%20context%20menu%20%28W7%2B%29/">http://sourceforge.net/projects/peazip/files/Translations/Translated%20context%20menu%20(W7%2B)/</a><br>
<br>
Simon<br>
<br>
<br>
<div class="moz-cite-prefix">Le 27/10/2015 19:55, Phil markham a
écrit :<br>
</div>
<blockquote cite="mid:562FC8A0.2090200@hotmail.com" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<br>
<tt> Bonjour,<br>
le fichier fr.reg traduit les entrées du menu contextuel,<br>
il office dans HKEY_CLASSES_ROOT </tt><tt><span
style="font-size: 14px;"><br>
<br>
conf.txt :<br>
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.<br>
<br>
</span></tt>
<blockquote cite="mid:562FC83C.70306@gmail.com" type="cite"> <br>
<br>
<div class="moz-cite-prefix">Le 27/10/2015 19:47, Fonteneau
Simon a écrit :<br>
</div>
<blockquote cite="mid:562FC6AA.5010503@stemarie-aizenay.fr"
type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
Cela fonctionne dans pyscripter ?<br>
<br>
Dans quelle ruche le fr.reg install t'il ses key ?<br>
<br>
Simon<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">Le 27/10/2015 18:49, Phil
markham a écrit :<br>
</div>
<blockquote cite="mid:562FB93A.1030203@hotmail.com"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
Bonjour,<br>
<br>
je tente en vain de déployer peazip en le prereglant en
francais, mais celui, ne prend pas en compte les
reglages :<br>
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<br>
<br>
si quelqu'un a un avis ?<br>
<br>
<br>
<br>
voila le setup.py :<br>
<br>
<br>
<!--?xml version="1.0" encoding="UTF-8" standalone="no"?-->
<span
style="font-family:-webkit-standard;font-size:14px;">#
-*- coding: utf-8 -*-</span><br
style="font-family:-webkit-standard;font-size:14px;">
<span
style="font-family:-webkit-standard;font-size:14px;">from
setuphelpers import *</span><br
style="font-family:-webkit-standard;font-size:14px;">
<br style="font-family:-webkit-standard;font-size:14px;">
<span
style="font-family:-webkit-standard;font-size:14px;">#
registry key(s) where WAPT will find how to remove the
application(s)</span><br
style="font-family:-webkit-standard;font-size:14px;">
<span
style="font-family:-webkit-standard;font-size:14px;">uninstallkey
= []</span><br
style="font-family:-webkit-standard;font-size:14px;">
<br style="font-family:-webkit-standard;font-size:14px;">
<span
style="font-family:-webkit-standard;font-size:14px;">#
command(s) to launch to remove the application(s)</span><br
style="font-family:-webkit-standard;font-size:14px;">
<span
style="font-family:-webkit-standard;font-size:14px;">uninstallstring
= ['"C:\Program Files (x86)\PeaZip\unins000.exe"
/VERYSILENT']</span><br
style="font-family:-webkit-standard;font-size:14px;">
<br style="font-family:-webkit-standard;font-size:14px;">
<span
style="font-family:-webkit-standard;font-size:14px;">#
list of required parameters names (string) which can
be used during install</span><br
style="font-family:-webkit-standard;font-size:14px;">
<span
style="font-family:-webkit-standard;font-size:14px;">required_params
= []</span><br
style="font-family:-webkit-standard;font-size:14px;">
<br style="font-family:-webkit-standard;font-size:14px;">
<br style="font-family:-webkit-standard;font-size:14px;">
<span
style="font-family:-webkit-standard;font-size:14px;">def
install():</span><br
style="font-family:-webkit-standard;font-size:14px;">
<span
style="font-family:-webkit-standard;font-size:14px;">
# if you want to modify the keys depending on
environment (win32/win64... params..)</span><br
style="font-family:-webkit-standard;font-size:14px;">
<span
style="font-family:-webkit-standard;font-size:14px;">
global uninstallkey</span><br
style="font-family:-webkit-standard;font-size:14px;">
<span
style="font-family:-webkit-standard;font-size:14px;">
global uninstallstring</span><br
style="font-family:-webkit-standard;font-size:14px;">
<br style="font-family:-webkit-standard;font-size:14px;">
<span
style="font-family:-webkit-standard;font-size:14px;">
print('installing tis-peazip')</span><br
style="font-family:-webkit-standard;font-size:14px;">
<span
style="font-family:-webkit-standard;font-size:14px;">
run(r'"peazip-5.8.1.WINDOWS.exe" /VERYSILENT')</span><br
style="font-family:-webkit-standard;font-size:14px;">
<span
style="font-family:-webkit-standard;font-size:14px;">
filecopyto('conf.txt','%s\\PeaZip' % programfiles32)</span><br
style="font-family:-webkit-standard;font-size:14px;">
<span
style="font-family:-webkit-standard;font-size:14px;">
run(r'regedit.exe /s
%s\\peazip\\res\\lang-wincontext\\fr.reg' %
programfiles32)</span><br
style="font-family:-webkit-standard;font-size:14px;">
<span
style="font-family:-webkit-standard;font-size:14px;"> </span><br
style="font-family:-webkit-standard;font-size:14px;">
<span
style="font-family:-webkit-standard;font-size:14px;">def
session_setup():</span><br
style="font-family:-webkit-standard;font-size:14px;">
<span
style="font-family:-webkit-standard;font-size:14px;">
if not os.path.exists('%s\\PeaZip' %
application_data()):</span><br
style="font-family:-webkit-standard;font-size:14px;">
<span
style="font-family:-webkit-standard;font-size:14px;">
os.makedirs('%s\\PeaZip' % application_data())</span><br
style="font-family:-webkit-standard;font-size:14px;">
<span
style="font-family:-webkit-standard;font-size:14px;">
filecopyto('%s\\PeaZip\\conf.txt' % programfiles32,
'%s\\PeaZip' % application_data())</span><br
style="font-family:-webkit-standard;font-size:14px;">
<span
style="font-family:-webkit-standard;font-size:14px;">
</span>
<title></title>
<br>
<br>
<br>
<br>
en vous remerrciant<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
WAPT mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:WAPT@lists.tranquil.it">WAPT@lists.tranquil.it</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.tranquil.it/listinfo/wapt">http://lists.tranquil.it/listinfo/wapt</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
WAPT mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:WAPT@lists.tranquil.it">WAPT@lists.tranquil.it</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.tranquil.it/listinfo/wapt">http://lists.tranquil.it/listinfo/wapt</a>
</pre>
</blockquote>
<br>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
WAPT mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:WAPT@lists.tranquil.it">WAPT@lists.tranquil.it</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.tranquil.it/listinfo/wapt">http://lists.tranquil.it/listinfo/wapt</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
WAPT mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:WAPT@lists.tranquil.it">WAPT@lists.tranquil.it</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.tranquil.it/listinfo/wapt">http://lists.tranquil.it/listinfo/wapt</a>
</pre>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>