Difference between revisions of "Documentation/Administration Guide/Deactivating Registration Wizard"

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 5: Line 5:
 
|PrevPage=Documentation/Administration Guide/Adding AutoText Files
 
|PrevPage=Documentation/Administration Guide/Adding AutoText Files
 
|NextPage=Documentation/Administration Guide/Accessing Email Clients
 
|NextPage=Documentation/Administration Guide/Accessing Email Clients
}} {{DISPLAYTITLE: Deactivating the {{OOo}} Registration Wizard}}  
+
}} {{DISPLAYTITLE: Deactivating the {{AOo}} 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 {{AOo}}, a wizard opens to guide you through the registration process. You can also start this process if you choose the {{menu|Help|Registration}} menu item in any {{AOo}} program. You can deactivate the registration wizard as well as the Registration menu command.  
  
 
=== To Deactivate the Registration Wizard  ===
 
=== To Deactivate the Registration Wizard  ===
  
To use an extension to deactivate the Registration Wizard at the first startup of {{OOo}}:  
+
To use an extension to deactivate the Registration Wizard at the first startup of {{AOo}}:  
  
 
#Download the DisableFirstStartWzd.oxt extension (no longer maintained):  
 
#Download the DisableFirstStartWzd.oxt extension (no longer maintained):  
Line 21: Line 21:
 
#*For OpenOffice.org 3.2.1: [[Media:DisableFirstStartWzd_ooo321.oxt|DisableFirstStartWzd_ooo321.oxt]]
 
#*For OpenOffice.org 3.2.1: [[Media:DisableFirstStartWzd_ooo321.oxt|DisableFirstStartWzd_ooo321.oxt]]
 
#*For OpenOffice.org 3.3: [[Media:DisableFirstStartWzd_ooo33.oxt|DisableFirstStartWzd_ooo33.oxt]]
 
#*For OpenOffice.org 3.3: [[Media:DisableFirstStartWzd_ooo33.oxt|DisableFirstStartWzd_ooo33.oxt]]
#Install {{OOo}}.  
+
#Install {{AOo}}.  
#At the command line, type: <source lang="text">
+
#At the command line, type:  
unopkg add --shared DisableFirstStartWzd.oxt</source>
+
<syntaxhighlight lang="text">
 +
unopkg add --shared DisableFirstStartWzd.oxt</syntaxhighlight>
  
{{Note|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.}}  
+
{{Note|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 {{AOo}}, make sure you are typing the correct OXT filename.}}  
{{Warn|The <tt>DisableFirstStartWzd.oxt</tt> is no longer maintained.  You must create your own {{OOo}} extension using the steps below.}}
+
{{Warn|The <tt>DisableFirstStartWzd.oxt</tt> is no longer maintained.  You must create your own {{AOo}} extension using the steps below.}}
  
=== Create your own {{OOo}} extension to disable the First Start Wizard ===
+
=== Create your own {{AOo}} extension to disable the First Start Wizard ===
A simple {{OOo}} extension can be used to quickly and easily deactivate the First Start Wizard. This extension can be quickly deployed on multiple {{OOo}} installations using <tt>unopkg add</tt>.
+
A simple {{AOo}} extension can be used to quickly and easily deactivate the First Start Wizard. This extension can be quickly deployed on multiple {{AOo}} installations using <tt>unopkg add</tt>.
  
 
To create your new extension:
 
To create your new extension:
Line 36: Line 37:
 
<li>Create these four XML files:
 
<li>Create these four XML files:
 
<ol type="a"><li><tt>Common.xcu</tt>, with this content:
 
<ol type="a"><li><tt>Common.xcu</tt>, with this content:
<source lang="xml">
+
<syntaxhighlight lang="xml">
 
<?xml version="1.0" encoding="UTF-8"?>
 
<?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">
 
<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">
Line 52: Line 53:
 
  </node>
 
  </node>
 
</oor:component-data>
 
</oor:component-data>
</source>
+
</syntaxhighlight>
The value for the XML property <tt>"ReminderDate"</tt> is based on the Build ID of the specific version of {{OOo}} that you are installing.  You can find this value by opening the <tt>program/versionrc</tt> or <tt>program/version.ini</tt> file, and looking at the <tt>ProductBuildid</tt> value, or by clicking '''Help''' > '''About'''.  Once you know the specific Build ID for the version of {{OOo}} you are installing, you can replace the <tt>"ReminderDate"</tt> value with the new correct value.  This must be in the format <tt>Patch<BuildID></tt>.</li>
+
The value for the XML property <tt>"ReminderDate"</tt> is based on the Build ID of the specific version of {{OOo}} that you are installing.  You can find this value by opening the <tt>program/versionrc</tt> or <tt>program/version.ini</tt> file, and looking at the <tt>ProductBuildid</tt> value, or by clicking {{menu|Help|About}}.  Once you know the specific Build ID for the version of {{AOo}} you are installing, you can replace the <tt>"ReminderDate"</tt> value with the new correct value.  This must be in the format <tt>Patch<BuildID></tt>.</li>
 
<li><tt>Settings.xcu</tt> with this content:
 
<li><tt>Settings.xcu</tt> with this content:
<source lang="xml">
+
<syntaxhighlight lang="xml">
 
<?xml version="1.0" encoding="UTF-8"?>
 
<?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">
 
<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">
Line 67: Line 68:
 
  </node>
 
  </node>
 
</oor:component-data>
 
</oor:component-data>
</source></li>
+
</syntaxhighlight></li>
 
<li><tt>setup.xcu</tt> with this content:
 
<li><tt>setup.xcu</tt> with this content:
<source lang="xml">
+
<syntaxhighlight lang="xml">
 
<?xml version="1.0" encoding="UTF-8"?>
 
<?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">
 
<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">
Line 84: Line 85:
 
  </node>
 
  </node>
 
</oor:component-data>
 
</oor:component-data>
</source>
+
</syntaxhighlight>
Set the value for the <tt>LicenseAcceptDate</tt> property to at least the installation date. In this example it has been set to 30 December 2010.</li>
+
Set the value for the <tt>LicenseAcceptDate</tt> property to at least the installation date. In this example it has been set to 30 December 2010.</li>
 
<li><tt>META-INF/manifest.xml</tt> with this content
 
<li><tt>META-INF/manifest.xml</tt> with this content
<source lang="xml">
+
<syntaxhighlight lang="xml">
 
<?xml version="1.0" encoding="UTF-8"?>  
 
<?xml version="1.0" encoding="UTF-8"?>  
 
<!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd">  
 
<!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd">  
Line 98: Line 99:
 
                       manifest:full-path="Settings.xcu"/>    
 
                       manifest:full-path="Settings.xcu"/>    
 
</manifest:manifest>  
 
</manifest:manifest>  
</source></li></ol></li>
+
</syntaxhighlight></li></ol></li>
 
<li>Compress the files into one zip file and rename the zip file to <tt>DisableFirstStartWzd.oxt</tt>.</li>
 
<li>Compress the files into one zip file and rename the zip file to <tt>DisableFirstStartWzd.oxt</tt>.</li>
 
<li>Install {{OOo}}.</li>
 
<li>Install {{OOo}}.</li>
 
<li>At the command line, type: <source lang="text">unopkg add --shared DisableFirstStartWzd.oxt</source></li></ol>
 
<li>At the command line, type: <source lang="text">unopkg add --shared DisableFirstStartWzd.oxt</source></li></ol>
  
This command installs the extension and makes it available to all users of this specific {{OOo}} installation. You must install the extension on each {{OOo}} installation where you want to disable the Registration Wizard.  
+
This command installs the extension and makes it available to all users of this specific {{AOo}} installation. You must install the extension on each {{AOo}} installation where you want to disable the Registration Wizard.  
  
{{Note|MS Windows only: The First Start wizard creates a shortcut link for the {{OOo}} Quickstarter in the Windows startup folder.  If you deactivate the First Start wizard, this shortcut will not be placed in the startup folder.}}  
+
{{Note|MS Windows only: The First Start wizard creates a shortcut link for the {{AOo}} Quickstarter in the Windows startup folder.  If you deactivate the First Start wizard, this shortcut will not be placed in the startup folder.}}  
  
 
{{InterWiki Languages AdminGuide|articletitle=Documentation/Administration Guide/Deactivating Registration Wizard}} {{PDL1}}
 
{{InterWiki Languages AdminGuide|articletitle=Documentation/Administration Guide/Deactivating Registration Wizard}} {{PDL1}}

Revision as of 15:12, 1 February 2021


The first time you start Apache OpenOffice, 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 Apache OpenOffice 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 Apache OpenOffice:

  1. Download the DisableFirstStartWzd.oxt extension (no longer maintained):
  2. Install Apache OpenOffice.
  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 Apache OpenOffice, make sure you are typing the correct OXT filename.
Documentation caution.png The DisableFirstStartWzd.oxt is no longer maintained. You must create your own Apache OpenOffice extension using the steps below.

Create your own Apache OpenOffice extension to disable the First Start Wizard

A simple Apache OpenOffice extension can be used to quickly and easily deactivate the First Start Wizard. This extension can be quickly deployed on multiple Apache OpenOffice 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 Apache OpenOffice 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 Apache OpenOffice 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 Apache OpenOffice.
  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 Apache OpenOffice installation. You must install the extension on each Apache OpenOffice 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 Apache OpenOffice 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).
Personal tools
In other languages