Since I will be laying the addins down to the C:\Program Files\Microsoft Office\ location in my example, I will need to change the syntax in the config.xml to accommodate for the new path. Also because C:\Program Files\Microsoft Office\ contains spaces the previous example would fail without some syntax modification.
Here are the lines I will be using in the config.xml now. (Notice the “ and ‘ to make up for the spaces in the destination path)
<Command Path="%windir%\system32\msiexec.exe" Args='/i "C:\Program Files\Microsoft Office\Excel2007GetStartedTabSetup.msi" /qb' ChainPosition="after" Execute="install" Wait="-1"/>
<Command Path="%windir%\system32\msiexec.exe" Args='/i "C:\Program Files\Microsoft Office\Word2007GetStartedTabSetup.msi" /qb' ChainPosition="after" Execute="install" Wait="-1"/>
<Command Path="%windir%\system32\msiexec.exe" Args='/i "C:\Program Files\Microsoft Office\PowerPoint2007GetStartedTabSetup.msi" /qb' ChainPosition="after" Execute="install" Wait="-1"/>
Now when I install Office 2007 ProPlus using the custom.msp that I created with the files added to the “add files” section as above, and the config.xml has been modified with these latest 3 lines to point the addin installs to C:\Program Files\Microsoft Office\. The addins are successfully chained during the Office 2007 install.
Related articles
==========
Sequentially install multiple products of the 2007 Office system
http://technet.microsoft.com/en-us/library/cc179200.aspx