Changes

Jump to: navigation, search

MS Office 2007

16 bytes added, 21:26, 6 December 2009
Fix upgrade command. Add 1641 exit code. Tidy up.
This is the silent installer for Office 2007 with a.MSP generated by running:
<code>setup.exe /admin</code>
 
===Silent Install of Office 2007===
On the Office 2007 distribution point there is a folder called Updates 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 Updates folder)
<source lang="xml">
<package id="office2007" name="Microsoft Office 2007" revision="2007" reboot="false" priority="0">
<check type="uninstall" condition="exists" path="Microsoft Office Enterprise 2007" />
<install cmd='"%SOFTWARE%\Office 2007\setup.exe" /adminfile "%SOFTWARE%\Office 2007\Custom.msp"' /> <upgrade cmdexit code='"%SOFTWARE%\Office 2007\setup.exe1641" /adminfile reboot="%SOFTWARE%\Office 2007\Custom.mspdelayed"' /> </install>
</package>
</source>
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. why this? please see in discussion --[[User:Tuxinator|Tuxinator]] 14:29, 25 August 2009 (CEST)This can be fixed easily.On the ===Silent Upgrade of Office 2007 distribution point there is a folder called Update which contains nothing===http://technet. Each patch you want to apply to office 2007 is supposed to be added inside that folder and it will also recognize the microsoft.msp and apply it, so this gives com/en-us (provided that you have placed Custom/library/cc179141.aspx .msp inside the Update folder):
<blockquote>"You cannot apply the Setup customization file to existing installations by putting the MSP file in the Updates folder and running Setup again on the user's computer, or by running Setup with the customization file specified in the command line. You must apply the MSP file directly to the user's computer."</blockquote>
 
So, for an upgrade command we must apply the msp file directly using msiexec:
<source lang="xml">
<package id="office2007" name="Microsoft Office 2007" revision="2007" reboot="false" priority="0"> <check type="uninstall" condition="exists" path="Microsoft Office Enterprise 2007" /> <install upgrade cmd='msiexec /qn /p "%SOFTWARE%\Office 2007\setupupdates\Custom.exemsp"' /> <upgrade cmdexit code='"%SOFTWARE%\Office 2007\setup.exe1641" reboot="delayed"' /> </packageupgrade>
</source>
117
edits

Navigation menu