Difference between revisions of "MS Office 2007 Compatibility Pack"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (Different language versions)
(clean-up)
 
Line 16: Line 16:
 
FileFormatConverters.exe /extract:C:\My\Path
 
FileFormatConverters.exe /extract:C:\My\Path
 
</pre>
 
</pre>
 
wpkg packages.xml fragment (you must remove pack before install/upgrade, without this returns "Failed checking after installation" or another errors):
 
  
 
<source lang="xml">
 
<source lang="xml">
<package id="off2007fmtconv" name="Office 2007 Compatibility Pack" revision="1" priority="1" reboot="false">
+
<package  
<check type="uninstall" condition="exists" path="Compatibility Pack for the 2007 Office system" />
+
  id="off2007fmtconv"  
 
+
  name="Office 2007 Compatibility Pack"  
 +
  revision="%PKG_VERSION%"  
 +
  priority="10"  
 +
  reboot="false">
 +
 
 +
  <variable name="PKG_VERSION"    value="2007" />
 +
  <variable name="PKG_EXE_VERSION" value="11.0.8169.0" />
 +
  <variable name="PKG_SOURCE"        value="%SOFTWARE%\MicrosoftOfficeViewer\ffconv\O12Conv.msi"/>   
 +
 
 +
  <check type="logical" condition="or">
 +
    <check type="uninstall" condition="versiongreaterorequal" path="Sada Compatibility Pack pro systém Office 2007" value="12.0.6514.5001" />
 +
    <check type="uninstall" condition="versiongreaterorequal" path="Compatibility Pack for the 2007 Office system" value="12.0.6514.5001" />
 +
    <check type="uninstall" condition="versiongreaterorequal" path="Compatibiliteitspakket voor het 2007 Micr.+" 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>
 +
 
  <install cmd='msiexec /qn /x{90120000-0020-0409-0000-0000000FF1CE}'><exit code='0' /><exit code='1605' /></install>
 
  <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 "%PKG_SOURCE%"' />
 
+
   
  <upgrade cmd='msiexec /qn /x{90120000-0020-0409-0000-0000000FF1CE}'><exit code='0' /><exit code='1605' /></upgrade>
+
  <upgrade include="install" />
  <upgrade cmd='msiexec /qn /i "%SOFTWARE%\Office_2007_Compatibility_Pack\O12Conv.msi"' />
+
 
+
 
  <remove cmd='msiexec /qn /x{90120000-0020-0409-0000-0000000FF1CE}' />
 
  <remove cmd='msiexec /qn /x{90120000-0020-0409-0000-0000000FF1CE}' />
 
</package>
 
</package>
</source>
 
 
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.
 
 
<source lang="xml">
 
<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>
 
</source>
 
 
Can use 3 or more check, better with version check (this is for czech version):
 
<source lang="xml">
 
<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>
 
 
</source>
 
</source>
  

Latest revision as of 14:18, 29 August 2012

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
<package 
  id="off2007fmtconv" 
  name="Office 2007 Compatibility Pack" 
  revision="%PKG_VERSION%" 
  priority="10" 
  reboot="false">
  
  <variable name="PKG_VERSION"     value="2007" />
  <variable name="PKG_EXE_VERSION" value="11.0.8169.0" />
  <variable name="PKG_SOURCE"         value="%SOFTWARE%\MicrosoftOfficeViewer\ffconv\O12Conv.msi"/>    
  
  <check type="logical" condition="or">
    <check type="uninstall" condition="versiongreaterorequal" path="Sada Compatibility Pack pro systém Office 2007" value="12.0.6514.5001" />
    <check type="uninstall" condition="versiongreaterorequal" path="Compatibility Pack for the 2007 Office system" value="12.0.6514.5001" />
    <check type="uninstall" condition="versiongreaterorequal" path="Compatibiliteitspakket voor het 2007 Micr.+" 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>
 
 <install cmd='msiexec /qn /x{90120000-0020-0409-0000-0000000FF1CE}'><exit code='0' /><exit code='1605' /></install>
 <install cmd='msiexec /qn /i "%PKG_SOURCE%"' />
 
 <upgrade include="install" />
 
 <remove cmd='msiexec /qn /x{90120000-0020-0409-0000-0000000FF1CE}' />
</package>

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. (Service pack 2 is already included in the setup package, however you'll have to download multiple security updates for Office 2007 from Microsoft Update after installing the Office compability pack)

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" />

Dutch version should use:

 <check type="uninstall" condition="exists" path="Compatibiliteitspakket voor het 2007 Microsoft Office System" />

Italian version should use:

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

French version should use:

<check type="uninstall" condition="exists" path="Module de compatibilité pour Microsoft Office System 2007"/>

Russian version should use:

<check type="uninstall" condition="exists" path="Пакет обеспечения совместимости для выпуска 2007 системы Microsoft Office"/>