DeleteXML und Office365 configuration.xml

Post Reply
User avatar
seb
Posts: 46
Joined: 05. Oct 2012, 15:28
Contact:

DeleteXML und Office365 configuration.xml

Post by seb » 25. Nov 2016, 11:52

Hallo zusammen,

ich überarbeite gerade unser Office365 Paket und möchte hier erreichen, dass wir für die verschiedenen Variationen (mit Access, Ohne Access usw...) nur eine configuration.xml haben und die xml von der jeweiligen INF verändert wird.

So sieht die configuration.xml aus, die jeweils verändert werden soll:

Code: Select all

<Configuration>
    <Add OfficeClientEdition="32" Channel="Deferred">
        <Product ID="O365ProPlusRetail">
            <Language ID="en-us"/>
            <Language ID="de-de"/>
            <Language ID="fr-fr"/>
            <ExcludeApp ID="Publisher"/>
            <ExcludeApp ID="Access"/>
        </Product>
    </Add>
    <Updates Enabled="TRUE" Channel="Deferred"/>
    <Display Level="Full" AcceptEULA="TRUE"/>
    <Logging Level="Standard" Path="%temp%\office365.log"/>
</Configuration>
Möchte ich nun z.B. Access mit installieren, muss <ExcludeApp ID="Access"/> rausgenommen werden.

Mit dem Befehl

Code: Select all

DeleteXML ("%SRC%\Configuration.xml","/Configuration/Add/Product/ExcludeApp/ID","Access")
klappt das leider nicht. Die Datei wird zwar angefasst (last change date aktualisiert sich), aber Änderungen sind keine sichtbar.

Hat jemand eine Idee wie der Befehl korrekt lauten muss, damit das klappt?

Grüsse
Sebastian
Client System Engineer und Empirum Admin

Empirum V16 Update 03 inkl. EPE 4 Patch, Windows Server 2012R2

User avatar
Hendrik_Ambrosius
Moderator
Moderator
Posts: 8096
Joined: 13. Dec 2004, 23:10
Location: Adendorf/Lüneburg

Re: DeleteXML und Office365 configuration.xml

Post by Hendrik_Ambrosius » 25. Nov 2016, 15:40

Geht noch einfacher: In die XML eine Variable wie %Office-Product% an die Stelle setzten und dann via REPLACEVARS Parameter kopieren:
set Office-Product=PROJPRO
1:config.xml, ,ALWAYS REPLACEVARS, 0
Dann ist hinterher im %APP% eine config.xml mit dem richtigen Wert.
Hendrik Ambrosius / Senior Presales Consultant
Mobile: +49 172 408 4447 | hendrik.ambrosius@matrix42.com
Matrix42 GmbH | Elbinger Straße 7 | 60487 Frankfurt am Main | Germany | www.matrix42.com

Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of Matrix42 or of the support team.

Post Reply

Return to “Paketierung”

Who is online

Users browsing this forum: No registered users and 6 guests