3,217
edits
Changes
m
<source lang="xml"><package id="office2007" name="Microsoft Office 2007" revision="2007" reboot="false" priority="0">
</package></source>
<source lang="xml"><package id="office2007" name="Microsoft Office 2007" revision="2007" reboot="false" priority="0">
</package></source>
no edit summary
<code>setup.exe /admin</code>
<check type="uninstall" condition="exists" path="Microsoft Office Enterprise 2007" />
<install cmd='"%SOFTWARE%\Office 2007\setup.exe" /adminfile "%SOFTWARE%\Office 2007\Custom.msp"' />
<upgrade cmd='"%SOFTWARE%\Office 2007\setup.exe" /adminfile "%SOFTWARE%\Office 2007\Custom.msp"' />
The only problem with this solution is that it will tell you on each boot that the /adminfile option can only be used on initial setup.
On the Office 2007 distribution point there is a folder called Update which contains nothing. Each patch you want to apply to office 2007 is supposed to be added inside that folder and it will also recognize the .msp and apply it, so this gives us (provided that you have placed Custom.msp inside the Update folder):
<check type="uninstall" condition="exists" path="Microsoft Office Enterprise 2007" />
<install cmd='"%SOFTWARE%\Office 2007\setup.exe"' />
<upgrade cmd='"%SOFTWARE%\Office 2007\setup.exe"' />
[[category: Silent Installers]]