[Wapt] Deploiement Office 2016 Pro Plus
Fonteneau Simon
sfonteneau at stemarie-aizenay.fr
Mon Mar 14 15:32:14 CET 2016
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
Collège Privé Ste Marie <https://www.stemarie-aizenay.fr>
Fonteneau Simon / Administrateur Réseaux
sfonteneau at stemarie-aizenay.fr <mailto: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
Facebook <https://www.facebook.com/saintemarieaizenay>Google +
<https://plus.google.com/105273696200535069375>LinkedIn
<https://fr.linkedin.com/in/simon-fonteneau-b13382b0>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 list
> WAPT at lists.tranquil.it
> http://lists.tranquil.it/listinfo/wapt
-------------- section suivante --------------
Une pi?ce jointe HTML a ?t? nettoy?e...
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20160314/2e4a3819/attachment-0001.html>
-------------- 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/2e4a3819/attachment-0005.png>
-------------- 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/2e4a3819/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/2e4a3819/attachment-0002.gif>
-------------- 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/2e4a3819/attachment-0007.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/2e4a3819/attachment-0003.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/2e4a3819/attachment-0008.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/2e4a3819/attachment-0009.png>
More information about the WAPT
mailing list