blob: ba2eb34b319376bd2d0b8f2a538ca912a30e07c9 [file] [log] [blame]
<html>
<head>
<title>Uninstalling the Scripting Framework</title>
<meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8">
</head>
<body>
<a name="top"></a>
<h1>Guide for Uninstalling the Office Scripting Framework</h1>
<!--
<h2>Contents</h2>
<ul>
<li><p><a href="#unistall">Uninstalling the Scripting Framework</a>
</ul>
-->
<h2>Uninstalling the Scripting Framework</h2>
Currently there is no automated process for uninstalling the Scripting
Framework, so uninstalling must be done manually (the process will be
automated in a future release). The Scripting Framework will eventually
be included in the standard OpenOffice.org install/uninstall process.
<p>
To remove the Scripting Framework:
<ul>
<li>Delete the files:
<ul>
<li>&lt;Office Installation&gt;/user/uno_packages/ooscriptframe.zip </li>
<li>&lt;Office Installation&gt;/user/uno_packages/bshruntime.zip </li>
<li>&lt;Office Installation&gt;/user/basic/ScriptBindingLibrary/ (delete entire directory) </li>
<ul>
<li>You may also delete the line referring to <font face="Courier, monospace" size="2">library:name="ScriptBindingLibrary"</font></i>
in script.xlc and dialog.xlc found in &lt;Office Installation&gt;/user/basic/ directory.
This will remove the entry for ScriptBindingLibrary in Tools->Macro </li>
</ul>
</ul>
<li>Switch to the &lt;Office Installation&gt;/program directory and run the command: <font face="Courier, monospace" size="2">pkgchk</font>
<ul>
<li>On Windows: <font face="Courier, monospace" size="2">pkgchk.exe</font></li>
<li>On Solaris/Linux: <font face="Courier, monospace" size="2">./pkgchk</font></li>
</ul>
<li>Use the Tools/Configure dialog to remove the "Scripting Add-ons" entry in the Tools menu.</li>
</ul>
<p>
If you wish to remove any scripts from your installation they are stored in the directories:
<ul>
<li>&lt;Office Installation&gt;/user/Scripts
<li>&lt;Office Installation&gt;/share/Scripts
</ul>
<!-- Use bak files in <office>/user/config/soffice.cfg/*xml -->
<p>
To remove any menu, key or event bindings that you have set up for Office scripts.
<ul>
<li> The original configuration can be restored by removing the files used by the Scripting Framework and replacing them with the files that were backed up during installation.</li>
<li> cd &lt;Office&gt;/user/config/soffice.cfg/ </li>
<li> Delete all files that don't end in a .bak extension. </li>
<li> Rename the .bak files to their original name (i.e. without the .bak extension). </li>
<ul><li>e.g. writermenubar.xml.bak to writermenubar.xml</li></ul>
<li> cd to META-INF </li>
<li> Delete manifest.xml </li>
<li> If it is there, rename manifest.xml.bak to manifest.xml </li>
<li> <b>NOTE:</b> The configuration files are only created when a change is made through Tools -> Configure. It is possible that no files needed to be backed up during installation of the Scripting Framework. </li>
<li>List of config files possibly backed up in &lt;Office&gt;/user/config/soffice.cfg/</li>
<ul>
<li>writermenubar.xml </li>
<li>writerkeybinding.xml </li>
<li>calcmenubar.xml </li>
<li>calckeybinding.xml </li>
<li>impressmenubar.xml </li>
<li>impresskeybinding.xml </li>
<li>drawmenubar.xml </li>
<li>drawkeybinding.xml </li>
<li>META-INF/manifest.xml </li>
</ul>
</ul>
</p>
<!-- Instructions superceded by file backup
<p>
You can use the Tools/Configure dialog to remove any menu, key or event bindings
that you have set up for Office scripts.
<ul>
<li>For Menu assignments:</li>
<ul>
<li>Select &lt;menu name&gt; [] then click Delete </li>
</ul>
<li>For Keyboard assignments:</li>
<ul>
<li>Select &lt;key combo&gt; [script://&lt;script name&gt;] then click Delete</li>
</ul>
<li>For Event assignments:</li>
<ul>
<li>Select OpenOffice.org for application assignments or Document for document assignments</li>
<li>Select the script to be removed from Assigned Macro column then click Remove. </li>
</ul>
</ul>
-->
<p>
If you have installed Office Scripting support into a NetBeans installation
you can remove it by deleting:
<ul>
<li>&lt;NetBeans Installation&gt;/modules/office.jar
</ul>
<a href="#top">Top</a>
<hr>
Last Modified: Tue Mar 12 11:40:28 GMT 2003
</body>
</html>