<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=FR link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Bonjour,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Je souhaite actuellement développer un paquet basé sur le msi contenu dans le fichier exe du dernier installeur de Scratch 2.<o:p></o:p></p><p class=MsoNormal>Tout se passe très bien en ligne de commande en lançant :<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='color:#948A54'>msiexec /quiet TARGETDIR=%programfiles%\\Scratch2  /i setup.msi<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Seulement une fois mon paquet buildé et uploadé sur le serveur avec les instructions d’installation suivantes, l’installation commence, les fichiers sont bien copiés au bon endroit, j’ai pu le constater au cours de l’installation, mais ensuite tout est supprimé et l’installation se termine sans renvoyer de code d’erreur.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='color:#948A54'>cheminDossier = programfiles32 + '\\Scratch2'<o:p></o:p></span></p><p class=MsoNormal><span style='color:#948A54'>print run('msiexec /quiet TARGETDIR="%s" /i setup.msi /Lime "%s\\log.txt"'%(cheminDossier, programfiles32))<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>J’ai donc généré un log de l’installation et j’obtiens l’erreur suivante à la fin :<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='color:#548DD4'>MSI (s) (DC:B8) [09:26:25:331]: Product: Scratch 2 Offline Editor -- Error 1308. Source file not found: c:\windows\temp\waptt_pqfz\media\.gitmodules.  Verify that the file exists and that you can access it.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#548DD4'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#548DD4'>Error 1308. Source file not found: c:\windows\temp\waptt_pqfz\media\.gitmodules.  Verify that the file exists and that you can access it.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#548DD4'>Action ended 09:26:25: InstallFinalize. Return value 3.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#548DD4'>Action ended 09:26:28: INSTALL. Return value 3.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#548DD4'>MSI (s) (DC:B8) [09:26:28:691]: Product: Scratch 2 Offline Editor -- Installation failed.<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>De plus le dossier « waptt_pqfz » ne figure pas dans le dossier temporaire renseigné. Quand est-il sensé être généré ?<o:p></o:p></p><p class=MsoNormal>Que puis-je faire pour résoudre mon problème ?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Ma station de test est un windows xp et tout mon parc fonctionne avec wapt 1.1.1.0. Le serveur est un Windows Server 2003 R2.<o:p></o:p></p><p class=MsoNormal>Vous trouverez ci-joint mon fichier setup.py et le fichier de log.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Merci<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><i><span style='font-size:9.0pt;color:#548DD4'>Anthony CHARLES<o:p></o:p></span></i></p><p class=MsoNormal><i><span style='font-size:9.0pt;color:#548DD4'>Informaticien<o:p></o:p></span></i></p><p class=MsoNormal><i><span style='font-size:9.0pt;color:#548DD4'>COLLEGE SAINT JEAN DE LA BARRE<o:p></o:p></span></i></p><p class=MsoNormal><i><span style='font-size:9.0pt;color:#548DD4'>159, rue de la Barre<o:p></o:p></span></i></p><p class=MsoNormal><i><span style='font-size:9.0pt;color:#548DD4'>49000 Angers<o:p></o:p></span></i></p><p class=MsoNormal><i><span style='font-size:9.0pt;color:#548DD4'>informatique.stjeandelabarre@orange.fr<o:p></o:p></span></i></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>