Difference between revisions of "EN/documentation/administration guide/deactivating registration wizard"

From Wiki
Jump to navigationJump to search
m (1 revision)
 
Line 1: Line 1:
 +
<section begin=title /><noinclude>{{DISPLAYTITLE:</noinclude>Deactivating the {{OOo}} Registration Wizard<noinclude>}}</noinclude><section end=title />
 +
 
{{Documentation/AdminGuideTOC/v2
 
{{Documentation/AdminGuideTOC/v2
 
|ShowPrevNext=block
 
|ShowPrevNext=block
 
|ShowPrevPage=block
 
|ShowPrevPage=block
 
|ShowNextPage=block
 
|ShowNextPage=block
|PrevPage=Documentation/Administration Guide/Adding AutoText Files
+
|PrevPage=EN/documentation/administration_guide/adding_autotext_files
|NextPage=Documentation/Administration Guide/Accessing Email Clients
+
|NextPage=EN/documentation/administration_guide/accessing_email_clients
}} {{DISPLAYTITLE: Deactivating the {{OOo}} Registration Wizard}}  
+
}}
  
 
The first time you start {{OOo}}, 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 {{OOo}} program. You can deactivate the registration wizard as well as the Registration menu command.  
 
The first time you start {{OOo}}, 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 {{OOo}} program. You can deactivate the registration wizard as well as the Registration menu command.  

Revision as of 14:51, 30 March 2012



The first time you start OpenOffice.org, 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. You can deactivate the registration wizard as well as the Registration menu command.

To Deactivate the Registration Wizard

To use an extension to deactivate the Registration Wizard at the first startup of OpenOffice.org:

  1. Download the DisableFirstStartWzd.oxt extension (no longer maintained):
  2. Install OpenOffice.org.
  3. At the command line, type:
    unopkg add --shared DisableFirstStartWzd.oxt
Documentation note.png The text in Step 3 demonstrates how to install the extension for OpenOffice.org 2.x. If you are installing the extension for one of the other versions of OpenOffice.org, make sure you are typing the correct OXT filename.
Documentation caution.png The DisableFirstStartWzd.oxt is no longer maintained. You must create your own OpenOffice.org extension using the steps below.


Create your own OpenOffice.org extension to disable the First Start Wizard

A simple OpenOffice.org extension can be used to quickly and easily deactivate the First Start Wizard. This extension can be quickly deployed on multiple OpenOffice.org installations using unopkg add.

To create your new extension:

  1. Create these four XML files:
    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/versionrc or program/version.ini file, and looking at the ProductBuildid 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>.
    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>
    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>2010-12-30T08: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 30 December 2010.
    4. META-INF/manifest.xml 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>
  2. Compress the files into one zip file and rename the zip file to DisableFirstStartWzd.oxt.
  3. Install OpenOffice.org.
  4. At the command line, type:
    unopkg add --shared DisableFirstStartWzd.oxt

This 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.

Documentation note.png MS Windows only: The First Start wizard creates a shortcut link for the OpenOffice.org Quickstarter in the Windows startup folder. If you deactivate the First Start wizard, this shortcut will not be placed in the startup folder.
Content on this page is licensed under the Public Documentation License (PDL).