Changes

ODF Add-in for Microsoft Office

3,163 bytes added, 15:02, 10 March 2011
Add this entry
The ODF Add-in for Microsoft Office is an alternative to [[Sun ODF Plugin for Microsoft Office 3.1|Sun ODF Plugin for Microsoft Office]] financed by Microsoft.

It add and import/export in ODF format fonctionality for Office 2000, XP, 2003 and 2007 .

For more infos see : http://odf-converter.sourceforge.net/

The sourceforge page explain how to create a silent instaler [http://odf-converter.sourceforge.net/download.html#Silentmode here]

You will need first to extra an MSI package from the EXE file for your language. Last distribution files are available at [http://sourceforge.net/projects/odf-converter/files/ODF%20Add-in%20for%20Office/ SourceForge]

To extrac the MSI use a zip tool like 7-Zip or from command line with :

<pre>
OdfConverter.exe /I Filename [/O PathOrFilename] [/V]
</pre>


This script is for a french install with office 2003, you have to adapt it for your system language. You particulary need to change :
* The Add-in ODF version check
* The [[MS Office 2007 Compatibility Pack]] check
* The remove entry

This script install the Add-In only if :
* The 2007 Compatibility Pack is already installed
* The .NET Framework 2.0 Service Pack SP1 or SP2 is present (tested on Windows XP only)
* Microsoft Office is installed on the target computer

You may change this checks by [[Package dependencies|packages dependencies]].
If you use, MS Office 2007 you do not need for the Compatibility Pack of course.


<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>

<!-- ODF Add-In for Office (fr) - Doc converter - http://odf-converter.sourceforge.net/ -->


<packages>
<package id="odfaddin" name="ODF Add-In for Office (fr)" revision="%PKG_VERSION%" reboot="false" priority="10">
<variable name="PKG_VERSION" value="4.0.5309" />
<variable name="SOFTWARE" value="\\CAMBRIEN\wpkg\installs" />

<check type="uninstall" condition="versionequalto" path="Add-in ODF pour Microsoft Office" value="%PKG_VERSION%" />

<!-- prerequists checks -->
<check type="logical" condition="not">
<!-- 2007 Compatability Pack is required in ou case-->
<check type="uninstall" condition="exists" path="Module de compatibilité pour Microsoft Office System 2007" />
</check>
<check type="logical" condition="not">
<!-- .NET Framework 2.0 SP1 or above is required -->
<!-- This check work on Windows XP i have not tested it on Vista and 7 machines -->
<check type="uninstall" condition="exists" path="Microsoft .NET Framework 2.0 Service Pack .+" />
</check>
<check type="logical" condition="not">
<!-- install only if Microsoft Office 2003 is installed -->
<check type="uninstall" condition="exists" path="Microsoft Office Professional Edition 2003" />
</check>

<install cmd='MsiExec.exe /I "%SOFTWARE%\odfconverter\OdfAddInForOffice_fr_%PKG_VERSION%.msi" /q ALLUSERS=1' />

<upgrade cmd=' MsiExec.exe /I "%SOFTWARE%\odfconverter\OdfAddInForOffice_fr_%PKG_VERSION%.msi" /q ALLUSERS=1' />

<remove cmd='MsiExec.exe /X{54178A9B-7B4B-4B24-B863-7B44EBF28318} /qn' />

</package>
</packages>
</source>

[[Category: Silent Installers]]
[[Category: OpenOffice]]
266
edits