Changes

Jump to: navigation, search

MS Office 2007

43 bytes added, 21:24, 13 February 2012
Cleanup
This is the silent installer for Office 2007 with a.MSP file generated by running:
<code>setup.exe /admin</code>
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.
Generate custom.MSP msp using "setup.exe /admin", and place custom.MSP to msp in 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"' >
<exit code="1641" reboot="delayed"/>
</install>
 
</package>
</source>
For installation media having more than one office2007 Office 2007 edition, we have to explicitly select the version for silent installation using the /config switch, as listed below:
(replace ProPlus with the version you would like to use, e.g. ProPlus, Standard)
<source lang="xml">
<package id="office2007" name="Microsoft Office 2007" revision="2007" reboot="false" priority="0">
 
<check type="uninstall" condition="exists" path="Microsoft Office Professional Plus 2007" />
 
<install cmd='"%SOFTWARE%\Office2007\setup.exe" /config "%SOFTWARE%\Office2007\ProPlus.WW\config.xml"' >
<exit code="1641" reboot="delayed"/>
</install>
 
</package>
</source>
===Remove===
Before a <remove /> option can be applied, a silent uninstallation file must be created on the share where the installation files exist. Navigate to the Version.WW folder (Enterprise.WW or ProPlus.WW for example). Copy the config.xml and name it silentuninstall.xml. Edit the silentuninstall.xml file to resemble the following code:
<source lang="xml">
</source>
Now add the following line to your packages.xml file(remembering to replace [Version]):
<source lang="xml">
577
edits

Navigation menu