Difference between revisions of "MS Office 2007 Compatibility Pack"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(mod install/upgrade, check)
(little edit if not installed)
Line 23: Line 23:
 
  <check type="uninstall" condition="exists" path="Compatibility Pack for the 2007 Office system" />
 
  <check type="uninstall" condition="exists" path="Compatibility Pack for the 2007 Office system" />
  
  <install cmd='msiexec /qn /x{90120000-0020-0409-0000-0000000FF1CE}' />
+
  <install cmd='msiexec /qn /x{90120000-0020-0409-0000-0000000FF1CE}'><exit code='0' /><exit code='1605' /></install>
 
  <install cmd='msiexec /qn /i "%SOFTWARE%\Office_2007_Compatibility_Pack\O12Conv.msi"' />
 
  <install cmd='msiexec /qn /i "%SOFTWARE%\Office_2007_Compatibility_Pack\O12Conv.msi"' />
  
  <upgrade cmd='msiexec /qn /x{90120000-0020-0409-0000-0000000FF1CE}' />
+
  <upgrade cmd='msiexec /qn /x{90120000-0020-0409-0000-0000000FF1CE}'><exit code='0' /><exit code='1605' /></upgrade>
 
  <upgrade cmd='msiexec /qn /i "%SOFTWARE%\Office_2007_Compatibility_Pack\O12Conv.msi"' />
 
  <upgrade cmd='msiexec /qn /i "%SOFTWARE%\Office_2007_Compatibility_Pack\O12Conv.msi"' />
  
Line 64: Line 64:
 
<check type="uninstall" condition="exists" path="Compatibility Pack for the 2007 Office system" />
 
<check type="uninstall" condition="exists" path="Compatibility Pack for the 2007 Office system" />
  
         <install cmd='msiexec /qn /x{90120000-0020-0409-0000-0000000FF1CE}' />
+
         <install cmd='msiexec /qn /x{90120000-0020-0409-0000-0000000FF1CE}'><exit code='0' /><exit code='1605' /></install>
 
<install cmd='%SOFTWARE%\off2007fmtconv\FileFormatConverters.exe /q' />
 
<install cmd='%SOFTWARE%\off2007fmtconv\FileFormatConverters.exe /q' />
  
         <upgrade cmd='msiexec /qn /x{90120000-0020-0409-0000-0000000FF1CE}' />
+
         <upgrade cmd='msiexec /qn /x{90120000-0020-0409-0000-0000000FF1CE}'><exit code='0' /><exit code='1605' /></upgrade>
 
<upgrade cmd='%SOFTWARE%\off2007fmtconv\FileFormatConverters.exe /q' />
 
<upgrade cmd='%SOFTWARE%\off2007fmtconv\FileFormatConverters.exe /q' />
  

Revision as of 10:07, 21 January 2010

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 (you must remove pack before install/upgrade, without this returns "Failed checking after installation" or another errors):

<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 /x{90120000-0020-0409-0000-0000000FF1CE}'><exit code='0' /><exit code='1605' /></install>
 <install cmd='msiexec /qn /i "%SOFTWARE%\Office_2007_Compatibility_Pack\O12Conv.msi"' />

 <upgrade cmd='msiexec /qn /x{90120000-0020-0409-0000-0000000FF1CE}'><exit code='0' /><exit code='1605' /></upgrade>
 <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>

Can use 3 or more check, better with version check (this is for czech version):

<check type="logical" condition="or">
  <check type="uninstall" condition="versionequalto" path="Sada Compatibility Pack pro systém Office 2007" value="12.0.6514.5001" />
  <check type="uninstall" condition="exists" path="Microsoft Office Standard Edition 2007" />
  <check type="uninstall" condition="exists" path="Microsoft Office Professional Plus 2010" />
</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='msiexec /qn /x{90120000-0020-0409-0000-0000000FF1CE}'><exit code='0' /><exit code='1605' /></install>
	<install cmd='%SOFTWARE%\off2007fmtconv\FileFormatConverters.exe /q' />

        <upgrade cmd='msiexec /qn /x{90120000-0020-0409-0000-0000000FF1CE}'><exit code='0' /><exit code='1605' /></upgrade>
	<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:

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

Italian version should use:

<check type="uninstall" condition="exists" path="Pacchetto di compatibilità per Office System 2007" />