<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Pour compléter, il est possible après
coup de modifier par un paquet WAPT les options... <span
class="moz-smiley-s3"><span> ;-) </span></span><br>
voir par exemple le paquet tis-notray<br>
<br>
Pour l'option autoUpgradePolicy, il faudrait quelque chose comme :
<br>
<br>
<tt>def <b>install</b>():</tt><tt><br>
</tt><tt> if <b>iswin64</b>():</tt><tt><br>
</tt><tt> waptsetup_options_path =
r'SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\WAPT_is1'</tt><tt><br>
</tt><tt> else:</tt><tt><br>
</tt><tt> waptsetup_options_path =
r'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WAPT_is1'</tt><tt><br>
</tt><tt><br>
</tt><tt> # removes options for waptsetup so that upgrade at
exit is not reinstalled at next wapt silent reinstall</tt><tt><br>
</tt><tt> setup_options = <b>registry</b><b>_readstrin</b>g(HKEY_LOCAL_MACHINE,waptsetup_options_path,'Inno
Setup: Selected Tasks')</tt><tt><br>
</tt><tt><br>
</tt><tt> if setup_options:</tt><tt><br>
</tt><tt> options = setup_options.<b>split</b>(',')</tt><tt><br>
</tt><tt> if 'autoupgradepolicy</tt><tt>' in options:</tt><tt><br>
</tt><tt> print('Remove autoupgradepolicy </tt><tt>task
from wapt setup')</tt><tt><br>
</tt><tt> options.remove('autoupgradepolicy</tt><tt>')</tt><tt><br>
</tt><tt>
registry_setstring(HKEY_LOCAL_MACHINE,waptsetup_options_path,'Inno
Setup: Selected Tasks',','.join(options))</tt><tt><br>
<br>
WAPT.remove_upgrade_shutdown_policy()<br>
</tt><tt><br>
</tt><br>
(dispo dans dépôt Tranquil IT paquet tis-nowaptexit)<br>
<br>
Hubert<br>
<br>
<br>
Le 14/01/2015 14:44, Raphaël a écrit :<br>
</div>
<blockquote
cite="mid:CAL9VN2cPRHoNJEwz6MxofLKpG6r3zwChDCtMOfRAyC8AMXbydA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-family:trebuchet
ms,sans-serif;color:#000099">Bonjour.</div>
<div class="gmail_default" style="font-family:trebuchet
ms,sans-serif;color:#000099">Est-il possible d'appliquer des
paramètres à waptdeploy.exe afin d'enlever la tache de mise à
jour à la fermeture des pc ?</div>
<div class="gmail_default" style="font-family:trebuchet
ms,sans-serif;color:#000099">Merci</div>
<div class="gmail_default" style="font-family:trebuchet
ms,sans-serif;color:#000099"><br>
-----------------------------------<br>
Raphaël Larronde<br>
Lycée Saint Joseph<br>
1 routes des missionnaires<br>
64240 Hasparren<br>
Tél : 0559702930<br>
Mail : <a moz-do-not-send="true"
href="mailto:ra.larronde@gmail.com" target="_blank">ra.larronde@gmail.com</a><br>
-----------------------------------
</div>
<img moz-do-not-send="true" class="mailtrack-img"
src="https://mailtrack.io/trace/mail/728412300b3be950884ae3d7a3e125fce21cf671.png"
height="0" width="0"></div>
<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>