[Wapt] Waptdeploy
Hubert TOUVET
htouvet at tranquil.it
Thu Jan 15 10:30:13 CET 2015
Pour compléter, il est possible après coup de modifier par un paquet
WAPT les options... ;-)
voir par exemple le paquet tis-notray
Pour l'option autoUpgradePolicy, il faudrait quelque chose comme :
def *install*():
if *iswin64*():
waptsetup_options_path =
r'SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\WAPT_is1'
else:
waptsetup_options_path =
r'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WAPT_is1'
# removes options for waptsetup so that upgrade at exit is not
reinstalled at next wapt silent reinstall
setup_options =
*registry**_readstrin*g(HKEY_LOCAL_MACHINE,waptsetup_options_path,'Inno
Setup: Selected Tasks')
if setup_options:
options = setup_options.*split*(',')
if 'autoupgradepolicy' in options:
print('Remove autoupgradepolicy task from wapt setup')
options.remove('autoupgradepolicy')
registry_setstring(HKEY_LOCAL_MACHINE,waptsetup_options_path,'Inno
Setup: Selected Tasks',','.join(options))
WAPT.remove_upgrade_shutdown_policy()
(dispo dans dépôt Tranquil IT paquet tis-nowaptexit)
Hubert
Le 14/01/2015 14:44, Raphaël a écrit :
> Bonjour.
> Est-il possible d'appliquer des paramètres à waptdeploy.exe afin
> d'enlever la tache de mise à jour à la fermeture des pc ?
> Merci
>
> -----------------------------------
> Raphaël Larronde
> Lycée Saint Joseph
> 1 routes des missionnaires
> 64240 Hasparren
> Tél : 0559702930
> Mail : ra.larronde at gmail.com <mailto:ra.larronde at gmail.com>
> -----------------------------------
>
>
> _______________________________________________
> WAPT mailing list
> WAPT at lists.tranquil.it
> http://lists.tranquil.it/listinfo/wapt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20150115/d84e1fac/attachment.html>
More information about the WAPT
mailing list