Difference between revisions of "MS Office 2007 Compatibility Pack"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
m (Different language versions)
Line 69: Line 69:
 
For example, German version should use:
 
For example, German version should use:
  
 +
<script lang="xml>
 
  <check type="uninstall" condition="exists" path="Compatibility Pack für 2007 Office System" />
 
  <check type="uninstall" condition="exists" path="Compatibility Pack für 2007 Office System" />
 
+
</script>
  
 
[[Category:Silent_Installers]]
 
[[Category:Silent_Installers]]
  
 
----
 
----

Revision as of 16:28, 5 March 2009

Description

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.


Download links

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


Installation

Extract it to a directory by running (if you're using a Linux machine, you can extract it with wine):

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.


Different language versions

Note that as with other Windows software, you can't rely on uninstall string (the one present in Software Add/Remove) being constant between different Windows language versions.

For example, German version should use:

<script lang="xml>

<check type="uninstall" condition="exists" path="Compatibility Pack für 2007 Office System" />

</script>