Procedure to Disable Open Office Registration Wizard in Citrix Environment.
6:52 PM
When
ever we start OpenOffice.org for the first time, a wizard opens to
guide you through the registration process. You can also start this
process if you choose the
Help → Registration
menu
item in any OpenOffice.org program. Below is the procedure to
deactivate the registration wizard as well as the Registration menu
command.
Note:
If you are implementing in cluster environment with rooming profile, the open office version should be same on all the servers.
Follow the below Procedure to Deactivate the Registration Wizard:
1.
To Deactivate the Registration Wizard we need to add an extension in OpenOffice.org.
2.
Copy the below codes and create 4 files as specified below :
a.
File 1 : Common.xcu, with this content:
<?xml version="1.0" encoding="UTF-8"?>
<oor:component-data
xmlns:oor="http://openoffice.org/2001/registry"
xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Common"
oor:package="org.openoffice.Office">
<node oor:name="Help">
<node oor:name="Registration">
<prop oor:name="ReminderDate" oor:type="xs:string">
<value>Patch9521</value>
</prop>
</node>
</node>
<node oor:name="Misc">
<prop oor:name="FirstRun" oor:type="xs:boolean">
<value>false</value>
</prop>
</node>
</oor:component-data>
The value for the XML
property "ReminderDate" is based on the Build ID of the specific version
of OpenOffice.org that you are installing. You can find this value by
opening the program/version or program/version.ini file under C:\Program
Files\OpenOffice.org 3\program folder, and looking at the Product Build
ID value, or by clicking Help > About. Once you know the specific
Build ID for the version of OpenOffice.org you are installing, you can
replace the "ReminderDate" value with the new correct value. This must
be in the format
Patch<BuildID>.
b.
File 2 : Settings.xcu with this content:
<?xml version="1.0" encoding="UTF-8"?>
<oor:component-data
xmlns:oor="http://openoffice.org/2001/registry"
xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Settings"
oor:package="org.openoffice.Office.OOoImprovement">
<node oor:name="Participation">
<prop oor:name="OfficeStartCounterdown" oor:type="xs:int">
<value>0</value>
</prop>
<prop oor:name="ShowedInvitation" oor:type="xs:boolean">
<value>true</value>
</prop>
</node>
</oor:component-data>
No changes in the above code.
c.
File 3 : setup.xcu with this content:
<?xml version="1.0" encoding="UTF-8"?>
<oor:component-data
xmlns:oor="http://openoffice.org/2001/registry"
xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Setup"
oor:package="org.openoffice">
<node oor:name="Office">
<prop oor:name="ooSetupInstCompleted" oor:type="xs:boolean">
<value>false</value>
</prop>
<prop oor:name="LicenseAcceptDate" oor:type="xs:string">
<value>2012-01-05T08:14:11</value>
</prop>
<prop oor:name="FirstStartWizardCompleted" oor:type="xs:boolean">
<value>true</value>
</prop>
</node>
</oor:component-data>
Set the value for the LicenseAcceptDate property to at least the installation date. In this example it has been set to 5
th
January 2012.
d.
File 4: Create file manifest.xml under folder META-INF with this content:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd">
<manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest">
<manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data"
manifest:full-path="setup.xcu"/>
<manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data"
manifest:full-path="Common.xcu"/>
<manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data"
manifest:full-path="Settings.xcu"/>
</manifest:manifest>
3.
Compress the below 3 files and folder and re-name the Zip file to DisableFirstStartWzd.oxt
Common.xcu
Settings.xcu
Setup.xcu
META-INF (folder)
4.
Install OpenOffice.org.
5.
Copy the DisableFirstStartWzd.oxt file to C:\Program Files\OpenOffice.org 3\program folder.
6.
Open the command prompt and navigate to C:\Program Files\OpenOffice.org 3\program folder
7.
Run the command
unopkg add –shared DisableFirstStartWzd.oxt.
8.
The above command
installs the extension and makes it available to all users of this
specific OpenOffice.org installation. You must install the extension on
each OpenOffice.org installation where you want to disable the
Registration Wizard.
MS Windows only:
The First Start wizard
creates a shortcut link for the OpenOffice.org Quick starter in the
Windows start up folder. If you deactivate the First Start wizard, this
shortcut will not be placed in the start up folder.
0 comments