[Wapt] Deploiement Office 2016 Pro Plus

Olivier CATY emmir.zone15 at squale21.fr
Mon Mar 14 16:17:58 CET 2016


j'ai relancer l'install du paque office voici l'erreur :

id;description;summary;start_date;logs
14;Installation de lhost-wapt.lsem-judic.loc (=13) (task #14);"KeyError:
""There is no item named u'WAPT/signature' in the
archive""";2016-03-14T16:15:21.162000;"KeyError: ""There is no item named
u'WAPT/signature' in the archive""
Traceback (most recent call last):
  File ""C:\wapt\waptservice\waptservice.py"", line 1982, in run
    self.running_task.run()
  File ""C:\wapt\waptservice\waptservice.py"", line 1247, in pwrapper
    return func(*arg, **kwargs)
  File ""C:\wapt\waptservice\waptservice.py"", line 1307, in run
    self._run()
  File ""C:\wapt\waptservice\waptservice.py"", line 1712, in _run
    self.result = self.wapt.install(self.packagename,force = self.force)
  File ""C:\wapt\common.py"", line 3761, in install
    signature = waptfile.open(u'WAPT/signature').read().decode('base64')
  File ""C:\wapt\lib\zipfile.py"", line 892, in open
    zinfo = self.getinfo(name)
  File ""C:\wapt\lib\zipfile.py"", line 859, in getinfo
    'There is no item named %r in the archive' % name)
KeyError: ""There is no item named u'WAPT/signature' in the archive""
"


Le 14 mars 2016 à 15:32, Fonteneau Simon <sfonteneau at 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 at 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 at lists.tranquil.ithttp://lists.tranquil.it/listinfo/wapt
>
>
>
> _______________________________________________
> WAPT mailing list
> WAPT at lists.tranquil.it
> http://lists.tranquil.it/listinfo/wapt
>
>


-- 







17, boulevard de la Trémouille

CS 23502 - 21035 DIJON CEDEX

*Olivier CATY*
Direction Des Lycée et de la Formation Initiale

Fonction EMMIR
-------------- section suivante --------------
Une pi�ce jointe HTML a �t� nettoy�e...
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20160314/9981688c/attachment-0001.html>
-------------- section suivante --------------
Une pi�ce jointe autre que texte a �t� nettoy�e...
Nom: facebook.png
Type: image/png
Taille: 956 octets
Desc: non disponible
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20160314/9981688c/attachment-0005.png>
-------------- section suivante --------------
Une pi�ce jointe autre que texte a �t� nettoy�e...
Nom: googleplus.png
Type: image/png
Taille: 1527 octets
Desc: non disponible
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20160314/9981688c/attachment-0006.png>
-------------- section suivante --------------
Une pi�ce jointe autre que texte a �t� nettoy�e...
Nom: spacer.gif
Type: image/gif
Taille: 1097 octets
Desc: non disponible
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20160314/9981688c/attachment-0002.gif>
-------------- section suivante --------------
Une pi�ce jointe autre que texte a �t� nettoy�e...
Nom: linkedin.png
Type: image/png
Taille: 1141 octets
Desc: non disponible
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20160314/9981688c/attachment-0007.png>
-------------- section suivante --------------
Une pi�ce jointe autre que texte a �t� nettoy�e...
Nom: maps.png
Type: image/png
Taille: 2548 octets
Desc: non disponible
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20160314/9981688c/attachment-0008.png>
-------------- section suivante --------------
Une pi�ce jointe autre que texte a �t� nettoy�e...
Nom: stemarieaizenaysf.png
Type: image/png
Taille: 8867 octets
Desc: non disponible
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20160314/9981688c/attachment-0009.png>
-------------- section suivante --------------
Une pi�ce jointe autre que texte a �t� nettoy�e...
Nom: spacer.gif
Type: image/gif
Taille: 1097 octets
Desc: non disponible
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20160314/9981688c/attachment-0003.gif>


More information about the WAPT mailing list