Seite 3 von 3

Betreff: WAPT und MS Office

Veröffentlicht: 24. März 2016 - 18:55 Uhr
von Sfonteneau
In diesem Fall habe ich eine Lösung, wie jede andere auch; Sie können beispielsweise Folgendes am Anfang Ihrer setup.py-Datei tun:

Code: Alle auswählen

softname = 'Microsoft Office Standard 2007'
check_installed_soft = installed_softwares(softname)
if check_installed_soft:
     run('%programfiles%\Microsoft Office 2007\uninstall.exe')

Betreff: WAPT und MS Office

Veröffentlicht: 21. April 2016 - 11:08 Uhr
von A. Grisard
Ich habe keine Aktualisierungen bereitgestellt, aber ich habe es geschafft, die Version zu deinstallieren und anschließend automatisch eine andere Version zu installieren:

Hier ist mein Code, falls er Ihnen weiterhilft:

Code: Alle auswählen

uninstallstring =['"%s\Common Files\microsoft shared\OFFICE12\Office Setup Controller\Setup.exe" /uninstall Standard /config "%s\Common Files\uninstall.xml"' % (programfiles32,programfiles32) ]

def install():
    softname = 'Microsoft Office Professionnal Plus 2007'
    softname_2 = 'Microsoft Office Standard 2007'
    check_installed = installed_softwares(softname)
    check_installed_2 = installed_softwares(softname_2)
    if check_installed_2:
        print('la version standard est installée')
    else:
        print('Copie des fichiers uninstall')
        filecopyto("uninstall.xml",os.path.join(programfiles32,"Common Files"))
        filecopyto("uninstall_pro.xml",os.path.join(programfiles32,"Common Files"))
        run('"C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\Office Setup Controller\Setup.exe" /uninstall ProPlus /config "C:\Program Files (x86)\Common Files\uninstall_pro.xml"')
        print('Installation du paquet aiz-office2007_std (office12)')
        cmd ='"setup.exe" /adminfile "install.MSP"'
        run(cmd,timeout=1200,accept_returncodes=[1641,3010,0])
        print('Fin installation')


Betreff: WAPT und MS Office

Veröffentlicht: 6. November 2019 - 10:47 Uhr
von jlatieule
Ich habe Ihre Nachricht zur Wartung gesehen, konnte aber dank der folgenden Links eine sehr ähnliche Lösung finden:
WAPT-Tutorial: http://reseaux85.fr/index.php?title=Dep ... oft_Office
Tutorialquelle: https://help.pdq.com/hc/en-us/articles/ ... ation-Tool
Weitere Ressourcen: https://leblogosd.wuibaille.fr/wiki/sil ... fice-2013/