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_readstring(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@gmail.com
-----------------------------------

_______________________________________________
WAPT mailing list
WAPT@lists.tranquil.it
http://lists.tranquil.it/listinfo/wapt