<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Bonjour,<br>
En ce qui concerne notre paquet java, nous avons une spécificité
dans notre lycée, nous avons deux versions de windows, winXP en 32
bits et win7 en 64 bits.<br>
C'est donc cette particularité qui explique notre test (if
iswin64():). En gros si c'est un 64 bits c'est un win7 sinon c'est
un XP. Nous avons quelques soucis avec la version 8 de java sur nos
XP nous avons donc décidé de figer la version de java sur les postes
en XP.<br>
Cordialement,<br>
David MONTAIGNE<br>
<br>
<div class="moz-cite-prefix">Le 20/03/2015 10:50, informatique a
écrit :<br>
</div>
<blockquote
cite="mid:fc.011f04c5004d6eb13b9aca00ab394325.4d6edb@mail.challans.fr"
type="cite"><!--?xml version="1.0" encoding="UTF-8"?-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<style type="text/css">
<!--
body{margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px;}
-->
</style>
<div style="text-align:left;" align="left"><font
style="font-family:Segoe UI;font-size:14pt;color:#000000;"
size="+1" color="#000000" face="Segoe UI">Bonjour,</font></div>
<br>
<div style="text-align:left;" align="left"><font
style="font-family:Segoe UI;font-size:14pt;color:#000000;"
size="+1" color="#000000" face="Segoe UI">je pense avoir
trouvé une erreur en voulant reprendre votre setup.py qui
désinstalle les anciennes versions.</font></div>
<br>
<div style="text-align:left;" align="left"><font
style="font-family:Segoe UI;font-size:14pt;color:#000000;"
size="+1" color="#000000" face="Segoe UI"> <b> if iswin64():</b></font></div>
<div style="text-align:left;" align="left"><font
style="font-family:Segoe UI;font-size:14pt;color:#000000;"
size="+1" color="#000000" face="Segoe UI">
print("installation de JRE 8u40 32 bits")</font></div>
<div style="text-align:left;" align="left"><font
style="font-family:Segoe UI;font-size:14pt;color:#000000;"
size="+1" color="#000000" face="Segoe UI"> if not
installed_softwares('{26A24AE4-039D-4CA4-87B4-2F83218040F0}'):</font></div>
<div style="text-align:left;" align="left"><font
style="font-family:Segoe UI;font-size:14pt;color:#000000;"
size="+1" color="#000000" face="Segoe UI">
run(r'"jre-8u40-windows-i586.exe" /s' )</font></div>
<div style="text-align:left;" align="left"><font
style="font-family:Segoe UI;font-size:14pt;color:#000000;"
size="+1" color="#000000" face="Segoe UI"> else:</font></div>
<div style="text-align:left;" align="left"><font
style="font-family:Segoe UI;font-size:14pt;color:#000000;"
size="+1" color="#000000" face="Segoe UI">
print("JRE 8u40 32 bits present")</font></div>
<div style="text-align:left;" align="left"><font
style="font-family:Segoe UI;font-size:14pt;color:#000000;"
size="+1" color="#000000" face="Segoe UI">
print("installation de JRE 8u40 64 bits")</font></div>
<div style="text-align:left;" align="left"><font
style="font-family:Segoe UI;font-size:14pt;color:#000000;"
size="+1" color="#000000" face="Segoe UI"> if not
installed_softwares('{26A24AE4-039D-4CA4-87B4-2F86418040F0}'):</font></div>
<div style="text-align:left;" align="left"><font
style="font-family:Segoe UI;font-size:14pt;color:#000000;"
size="+1" color="#000000" face="Segoe UI">
run(r'"jre-8u40-windows-x64.exe" /s' )</font></div>
<div style="text-align:left;" align="left"><font
style="font-family:Segoe UI;font-size:14pt;color:#000000;"
size="+1" color="#000000" face="Segoe UI"> else:</font></div>
<div style="text-align:left;" align="left"><font
style="font-family:Segoe UI;font-size:14pt;color:#000000;"
size="+1" color="#000000" face="Segoe UI">
print("JRE 8u40 64 bits present")</font></div>
<div style="text-align:left;" align="left"><font
style="font-family:Segoe UI;font-size:14pt;color:#000000;"
size="+1" color="#000000" face="Segoe UI"> <b>else:</b></font></div>
<div style="text-align:left;" align="left"><font
style="font-family:Segoe UI;font-size:14pt;color:#000000;"
size="+1" color="#000000" face="Segoe UI">
print("installation de JRE 7u71 32 bits")</font></div>
<div style="text-align:left;" align="left"><font
style="font-family:Segoe UI;font-size:14pt;color:#000000;"
size="+1" color="#000000" face="Segoe UI"> </font><font
style="font-family:Segoe UI;font-size:14pt;color:#DD0000;"
size="+1" color="#DD0000" face="Segoe UI"><b>run(r'"jre-7u71-windows-i586.exe"
/s')</b></font></div>
<br>
<div style="text-align:left;" align="left"><font
style="font-family:Segoe UI;font-size:14pt;color:#000000;"
size="+1" color="#000000" face="Segoe UI">Pourquoi installer
la version 7.71 si le poste n'est pas un 64 bits ? Cela est
volontaire ?</font></div>
<br>
<div style="text-align:left;" align="left"><font
style="font-family:Segoe UI;font-size:14pt;color:#000000;"
size="+1" color="#000000" face="Segoe UI">Cdlt.</font></div>
<br>
<div style="text-align:left;" align="left"><font
style="font-family:Arial;font-size:10pt;color:#000000;"
size="+0" color="#000000" face="Arial"><b>frédéric VOLPI <<a
moz-do-not-send="true"
href="mailto:frederic.volpi@ac-nantes.fr">frederic.volpi@ac-nantes.fr</a>>
écrit:</b></font></div>
<div style="text-align:left;" align="left"><span
style="background-color:#d0d0d0;"><font
style="font-family:Geneva;font-size:12pt;color:#000000;"
size="+0" color="#000000" face="Geneva">Bonjour,</font></span></div>
<div style="text-align:left;" align="left"><span
style="background-color:#d0d0d0;"><font
style="font-family:Geneva;font-size:12pt;color:#000000;"
size="+0" color="#000000" face="Geneva">J'ai un soucis sur
un paquet de mise à jour de java. Lorsque je teste </font></span></div>
<div style="text-align:left;" align="left"><span
style="background-color:#d0d0d0;"><font
style="font-family:Geneva;font-size:12pt;color:#000000;"
size="+0" color="#000000" face="Geneva">mon paquet via
PyScripter le paquet s'installe correctement en testant </font></span></div>
<div style="text-align:left;" align="left"><span
style="background-color:#d0d0d0;"><font
style="font-family:Geneva;font-size:12pt;color:#000000;"
size="+0" color="#000000" face="Geneva">et désinstallant les
anciennes versions par contre il me renvoie une </font></span></div>
<div style="text-align:left;" align="left"><span
style="background-color:#d0d0d0;"><font
style="font-family:Geneva;font-size:12pt;color:#000000;"
size="+0" color="#000000" face="Geneva">erreur lorsque je le
déploie via la console.</font></span></div>
<div style="text-align:left;" align="left"><span
style="background-color:#d0d0d0;"><font
style="font-family:Geneva;font-size:12pt;color:#000000;"
size="+0" color="#000000" face="Geneva">Je joins le code en
dessous, ainsi que l'erreur renvoyée.</font></span></div>
<div style="text-align:left;" align="left"><span
style="background-color:#d0d0d0;"><font
style="font-family:Geneva;font-size:12pt;color:#000000;"
size="+0" color="#000000" face="Geneva">Cordialement,</font></span></div>
<div style="text-align:left;" align="left"><span
style="background-color:#d0d0d0;"><font
style="font-family:Geneva;font-size:12pt;color:#000000;"
size="+0" color="#000000" face="Geneva">David MONTAIGNE</font></span></div>
<br>
<br>
<br>
<div style="text-align:left;" align="left"><span
style="background-color:#d0d0d0;"><font
style="font-family:Geneva;font-size:12pt;color:#000000;"
size="+0" color="#000000" face="Geneva">-- </font></span></div>
<div style="text-align:left;" align="left"><span
style="background-color:#d0d0d0;"><font
style="font-family:Geneva;font-size:12pt;color:#000000;"
size="+0" color="#000000" face="Geneva">Frédéric volpi</font></span></div>
<div style="text-align:left;" align="left"><span
style="background-color:#d0d0d0;"><font
style="font-family:Geneva;font-size:12pt;color:#000000;"
size="+0" color="#000000" face="Geneva">Administrateur
Réseau</font></span></div>
<div style="text-align:left;" align="left"><span
style="background-color:#d0d0d0;"><font
style="font-family:Geneva;font-size:12pt;color:#000000;"
size="+0" color="#000000" face="Geneva">Lycée LIVET</font></span></div>
<div style="text-align:left;" align="left"><span
style="background-color:#d0d0d0;"><font
style="font-family:Geneva;font-size:12pt;color:#000000;"
size="+0" color="#000000" face="Geneva">NANTES</font></span></div>
<div style="text-align:left;" align="left"><span
style="background-color:#d0d0d0;"><font
style="font-family:Geneva;font-size:12pt;color:#000000;"
size="+0" color="#000000" face="Geneva">02 51 81 23 45</font></span></div>
<br>
<div style="text-align:left;" align="left"><span
style="background-color:#d0d0d0;"><font
style="font-family:Geneva;font-size:12pt;color:#000000;"
size="+0" color="#000000" face="Geneva">_______________________________________________</font></span></div>
<div style="text-align:left;" align="left"><span
style="background-color:#d0d0d0;"><font
style="font-family:Geneva;font-size:12pt;color:#000000;"
size="+0" color="#000000" face="Geneva">WAPT mailing list</font></span></div>
<div style="text-align:left;" align="left"><span
style="background-color:#d0d0d0;"><font
style="font-family:Geneva;font-size:12pt;color:#000000;"
size="+0" color="#000000" face="Geneva"><a
moz-do-not-send="true"
href="mailto:WAPT@lists.tranquil.it">WAPT@lists.tranquil.it</a></font></span></div>
<div style="text-align:left;" align="left"><span
style="background-color:#d0d0d0;"><font
style="font-family:Geneva;font-size:12pt;color:#000000;"
size="+0" color="#000000" face="Geneva"><a
moz-do-not-send="true"
href="http://lists.tranquil.it/listinfo/wapt"
target="_blank">http://lists.tranquil.it/listinfo/wapt</a></font></span></div>
<br>
<br>
<br>
</blockquote>
<br>
</body>
</html>