Difference between revisions of "MS Office 2007 Compatibility Pack"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
(Added comment on the service pack that Windows Update will install automatically for this package.)
Line 52: Line 52:
 
</source>
 
</source>
  
 +
There is no need to install the MS Office 2007 Compatibility Pack [http://www.microsoft.com/DownLoads/details.aspx?familyid=9A1822C5-49C6-47BD-8BEC-0D68693CA564&displaylang=en service pack] manually, as Windows Update will do this for you.
  
 
[[Category:Silent_Installers]]
 
[[Category:Silent_Installers]]
  
 
----
 
----

Revision as of 10:40, 23 January 2009

This is a silent installer for the Compatibility Pack for MS Office 2007, which allows earlier versions of Office to read/write Office 2007 file formats. With this package installed you can open the new XML-based formats like .docx in Office 2003.

You can get the download from http://www.microsoft.com/downloads/details.aspx?FamilyId=941b3470-3ae9-4aee-8f43-c6bb74cd1466&displaylang=en

Extract it to a directory by running:

FileFormatConverters.exe /extract:C:\My\Path

wpkg packages.xml fragment:

<package id="off2007fmtconv" name="Office 2007 Compatibility Pack" revision="1" priority="1" reboot="false">
 <check type="uninstall" condition="exists" path="Compatibility Pack for the 2007 Office system" />
 <install cmd='msiexec /qn /i "%SOFTWARE%\Office_2007_Compatibility_Pack\O12Conv.msi"' />
 <upgrade cmd='msiexec /qn /i "%SOFTWARE%\Office_2007_Compatibility_Pack\O12Conv.msi"' />
 <remove cmd='msiexec /qn /x{90120000-0020-0409-0000-0000000FF1CE}' />
</package>

You can use the following logical check so that the package set will run against machines with Office 2000 and 2003, but not on machines that already have 2007 installed.

<check type="logical" condition="or">
  <check type="uninstall" condition="exists" path="Compatibility Pack for the 2007 Office system" />
  <check type="uninstall" condition="exists" path="Microsoft Office Enterprise 2007" />
</check>


If you want to install this without extracting first you can use the following script:

<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
	id="off2007fmtconv"
	name="Compatibility Pack for the 2007 Office System"
	revision="200803131"
	priority="1">

	<check type="uninstall" condition="exists" path="Compatibility Pack for the 2007 Office system" />

	<install cmd='%SOFTWARE%\off2007fmtconv\FileFormatConverters.exe /q' />

	<upgrade cmd='%SOFTWARE%\off2007fmtconv\FileFormatConverters.exe /q' />

	<remove cmd='msiexec /qn /x {90120000-0020-0409-0000-0000000FF1CE}' />
</package>
</packages>

There is no need to install the MS Office 2007 Compatibility Pack service pack manually, as Windows Update will do this for you.