Bonjour,
J'ai trouver entre temps mon problème, le fichier silent.xml n'etais pas nommer correctement,
j'ai un autre problème le deploiemnt du paquet ce fait correctement, mais j'ai un warning sur la machine client sans aucune erreur, avec dans l'onglet general l'application en attente de deploiement, alors qui le paquet est bien installer
merci pour votre aide
Le 14 mars 2016 à 15:32, Fonteneau Simon sfonteneau@stemarie-aizenay.fr a écrit :
Si votre Paquet Ressemble a ceci :
# -*- coding: utf-8 -*- from setuphelpers import *
uninstallstring =['"%s\Common Files\microsoft shared\OFFICE15\Office Setup Controller\Setup.exe" /uninstall ProPlus /config "%s\Common Files\silent.xml"' % (programfiles32,programfiles32) ]
def install():
# !!! READ README BEFORE !!! def killsoft(): for soft in
('WINWORD.EXE','POWERPNT.EXE','EXCEL.exe','MSPUB.EXE','MSACCESS.EXE','INFOPATH.EXE','lync.exe','ONENOTE.EXE','OUTLOOK.EXE','ONENOTEM.EXE','MSOSYNC.EXE','GROOVE.EXE'):
if isrunning(soft): print ("closing %s" % soft) killalltasks(soft) softname = 'Microsoft Office Professionnel Plus 2013' check_installed_out = installed_softwares(softname) print('installing Office 2013') if not check_installed_out: cmd = '"setup.exe" /adminfile "silent.msp"' else: cmd = 'msiexec.exe /p silent.msp' killsoft() run(cmd,timeout=1200,accept_returncodes=[1641,3010,0]) filecopyto("silent.xml",os.path.join(programfiles32,"Common Files")) check_installed_out = installed_softwares(softname) if not check_installed_out: error('End audit did not find the software.')
Alors il ne faut pas oublier de mettre le fichier silent.xml a la racine du paquet.
Ce fichier permet de rendre silencieux la désinstallation. Il est donc copier dans %programfiles%\Common Files
Si ce fichier n'est pas présent lorsque wapt essaie de le copier, alors wapt générera une erreur.
Un exemple du paquet est dispo ici:
https://wapt.lesfourmisduweb.org/wapt/smp-msoffice-proplus_2013-12_all.wapt
Attention le fichier silent.xml doit être adapter a votre version
Simon Fonteneau
[image: Collège Privé Ste Marie] https://www.stemarie-aizenay.fr
Fonteneau Simon / Administrateur Réseaux sfonteneau@stemarie-aizenay.fr / 0648761484
Collège Privé Ste Marie Tel: 0251946200 / Fax: 0251946856 24 route de Nantes 85190 Aizenay https://www.stemarie-aizenay.fr
[image: Facebook] https://www.facebook.com/saintemarieaizenay [image: Google +] https://plus.google.com/105273696200535069375 [image: LinkedIn] https://fr.linkedin.com/in/simon-fonteneau-b13382b0 [image: Maps] https://goo.gl/maps/Jbyn8JUpumq
Le 14/03/2016 14:44, Olivier CATY a écrit :
Bonjour,
j'ai suivi la procedure sur la liste de diffusion, mais je rencontre une erreur a la fin du deploiement d'office 2016 Pro Plus, j'ai pas rencontrer ce problème pour la version 2013.
IOError: [Errno 2] No such file or directory: 'silent.xml'
auriez-vous une piste ?
d'avance je vous remercie
--
17, boulevard de la Trémouille
CS 23502 - 21035 DIJON CEDEX
*Olivier CATY* Direction Des Lycée et de la Formation Initiale
Fonction EMMIR
WAPT mailing listWAPT@lists.tranquil.ithttp://lists.tranquil.it/listinfo/wapt
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt