<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    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 class="moz-txt-link-abbreviated" href="mailto:WAPT@lists.tranquil.it">WAPT@lists.tranquil.it</a>
<a class="moz-txt-link-freetext" href="http://lists.tranquil.it/listinfo/wapt">http://lists.tranquil.it/listinfo/wapt</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>