Changes

MS Office 2007 Compatibility Pack

464 bytes removed, 14:18, 29 August 2012
clean-up
FileFormatConverters.exe /extract:C:\My\Path
</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">
<package id="off2007fmtconv" name="Office 2007 Compatibility Pack" revision="1%PKG_VERSION%" priority="110" 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="existsversiongreaterorequal" 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 "%SOFTWAREPKG_SOURCE%\Office_2007_Compatibility_Pack\O12Conv.msi"' />  <upgrade cmd='msiexec /qn /x{90120000-0020-0409-0000-0000000FF1CE}'><exit code='0' /><exit code='1605' /></upgrade> <upgrade cmdinclude='msiexec /qn /i "%SOFTWARE%\Office_2007_Compatibility_Pack\O12Conv.msiinstall"' />
<remove cmd='msiexec /qn /x{90120000-0020-0409-0000-0000000FF1CE}' />
</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>
36
edits