mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Mark Craig
27.55.2015 31ae2b5dce98a03653d4f9fb2c6efbac8e592aa9
CR-5900 OPENDJ-1118 Document native packaging for Windows
3 files modified
186 ■■■■■ changed files
opends/src/main/docbkx/install-guide/chap-install-gui.xml 117 ●●●●● patch | view | raw | blame | history
opends/src/main/docbkx/install-guide/chap-uninstall.xml 59 ●●●●● patch | view | raw | blame | history
opends/src/main/docbkx/install-guide/index.xml 10 ●●●● patch | view | raw | blame | history
opends/src/main/docbkx/install-guide/chap-install-gui.xml
@@ -20,7 +20,7 @@
  !
  ! CCPL HEADER END
  !
  !      Copyright 2011-2014 ForgeRock AS
  !      Copyright 2011-2015 ForgeRock AS.
  !
-->
<chapter xml:id='chap-install-gui'
@@ -30,7 +30,7 @@
                             http://docbook.org/xml/5.0/xsd/docbook.xsd'
         xmlns:xlink='http://www.w3.org/1999/xlink'
         xmlns:xinclude='http://www.w3.org/2001/XInclude'>
 <title>Installing OpenDJ With the QuickSetup Wizard</title>
 <title>Installing OpenDJ With a Graphical Installer</title>
 <indexterm><primary>Downloading OpenDJ</primary></indexterm>
 <indexterm><primary>Quick install</primary></indexterm>
 
@@ -40,6 +40,9 @@
 <xinclude:include href="../shared/itemizedlist-download.xml" />
 <section xml:id="install-gui-quick-setup">
  <title>Installing OpenDJ With the QuickSetup Wizard</title>
 <para>QuickSetup uses Java WebStart to let you perform an installation of
 OpenDJ directory server starting with a click in your web browser, which can
 be a great way to try OpenDJ directory server for the first time, or to do a
@@ -176,6 +179,115 @@
    <para>OpenDJ Control Panel offers basic administration capabilities.</para>
   </textobject>
 </mediaobject>
 </section>
 <section xml:id="install-gui-windows-msi">
  <title>Installing OpenDJ From the Windows Installer Package</title>
  <para>
   You can start installing OpenDJ directory server on Windows systems
   from the Windows installer package,
   <filename>OpenDJ-${docTargetVersion}.msi</filename>.
  </para>
  <indexterm><primary>Windows installer (.msi) package</primary></indexterm>
  <procedure xml:id="install-gui-windows-msi-steps">
   <title>To Install OpenDJ From the Windows Installer Package</title>
   <para>
    Installing OpenDJ directory server by using the Windows installer package
    is a two-stage process.
    First, you install the files by using the Windows installer package wizard.
    Second, you configure OpenDJ by using the <command>setup</command> command.
   </para>
   <step>
    <para>
     Install OpenDJ files in one of the following ways.
    </para>
    <stepalternatives>
     <step>
      <substeps>
       <step>
        <para>
         Double-click the Windows installer package,
         <filename>OpenDJ-${docTargetVersion}.msi</filename>,
         to start the install wizard.
        </para>
       </step>
       <step>
        <para>
         In the Destination Folder screen, set the folder
         where the wizard installs OpenDJ directory server files.
        </para>
        <para>
         The default location is under Program Files on the system drive.
         For example if the system drive is C:, the default location is
         <filename>C:\Program Files (x86)\OpenDJ\</filename>,
         as the native executable is a 32-bit application,
         though you can run OpenDJ directory server
         with a 64-bit Java environment.
        </para>
       </step>
      </substeps>
     </step>
     <step>
      <para>
       Use the Microsoft <command>msiexec.exe</command> command
       to install the files.
      </para>
      <para>
       The following example installs OpenDJ directory server files under
       <filename>C:\OpenDJ-${docTargetVersion}</filename>,
       writing an installation log file, <filename>install.log</filename>,
       in the current folder.
      </para>
      <screen>
C:\><userinput>msiexec /i OpenDJ-${docTargetVersion}.msi /l* install.log /q OPENDJ=C:\OpenDJ-${docTargetVersion}</userinput>
      </screen>
     </step>
    </stepalternatives>
   </step>
   <step>
    <para>
     Start the installation.
    </para>
    <para>
     When installation is finished, OpenDJ directory server files
     are found in the location you specified as Destination Folder.
     You must still run the <command>setup</command> command
     before you can use OpenDJ directory server.
    </para>
   </step>
   <step>
    <para>
     Browse to the Destination Folder,
     and double-click the <command>setup</command> command
     to start the OpenDJ QuickSetup wizard
     and following the instructions on screen
     as described in <xref linkend="install-gui-quick-setup" />.
    </para>
   </step>
  </procedure>
 </section>
 <section xml:id="install-launch-control-panel">
  <title>Starting OpenDJ Control Panel</title>
  <para>
   You might close OpenDJ Control Panel,
   or decide to start it later after closing the QuickSetup wizard.
  </para>
 <itemizedlist>
  <para>
@@ -198,4 +310,5 @@
   <para>(Windows) <command>C:\path\to\opendj\bat\control-panel.bat</command></para>
  </listitem>
 </itemizedlist>
 </section>
</chapter>
opends/src/main/docbkx/install-guide/chap-uninstall.xml
@@ -20,7 +20,7 @@
  !
  ! CCPL HEADER END
  !
  !      Copyright 2011-2014 ForgeRock AS
  !      Copyright 2011-2015 ForgeRock AS.
  !    
-->
<chapter xml:id='chap-uninstall'
@@ -38,6 +38,7 @@
  <listitem><para><xref linkend="uninstall-gui" /></para></listitem>
  <listitem><para><xref linkend="uninstall-cli" /></para></listitem>
  <listitem><para><xref linkend="uninstall-deb" /></para></listitem>
  <listitem><para><xref linkend="uninstall-msi" /></para></listitem>
  <listitem><para><xref linkend="uninstall-rpm" /></para></listitem>
 </itemizedlist>
 
@@ -165,6 +166,62 @@
  </step>
 </procedure>
 <procedure xml:id="uninstall-msi">
  <title>To Uninstall the Windows Installer Package</title>
  <indexterm><primary>Windows installer (.msi) package</primary></indexterm>
  <para>
   When you uninstall the files installed from the Windows installer package,
   only the installed files are removed.
   To remove OpenDJ directory server configuration files,
   run the <command>uninstall</command> command
   as described in <xref linkend="uninstall-gui" />
   or <xref linkend="uninstall-cli" />.
  </para>
  <step>
   <para>
    Remove installed OpenDJ files in one of the following ways.
   </para>
   <stepalternatives>
    <step>
     <para>
      Use Windows Control Panel.
     </para>
     <substeps>
      <step>
       <para>
        Open Windows Control Panel and browse to the page to uninstall a program.
       </para>
      </step>
      <step>
       <para>
        Find ForgeRock OpenDJ in the list and uninstall it.
       </para>
      </step>
     </substeps>
    </step>
    <step>
     <para>
      Use the <command>msiexec</command> command.
     </para>
     <para>
      The following command quietly removes installed files.
     </para>
     <screen>
C:\><userinput>msiexec /x OpenDJ-${docTargetVersion}.msi /q</userinput>
     </screen>
    </step>
   </stepalternatives>
  </step>
 </procedure>
 <procedure xml:id="uninstall-rpm">
  <title>To Uninstall the RPM Package</title>
  <indexterm><primary>Red Hat (.rpm) package</primary></indexterm>
opends/src/main/docbkx/install-guide/index.xml
@@ -20,14 +20,14 @@
  !
  ! CCPL HEADER END
  !
  !      Copyright 2011-2014 ForgeRock AS
  !      Copyright 2011-2015 ForgeRock AS
  !    
-->
<book xml:id='install-guide'
 xmlns='http://docbook.org/ns/docbook' version='5.0' xml:lang='en'
 xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
 xsi:schemaLocation='http://docbook.org/ns/docbook http://docbook.org/xml/5.0/xsd/docbook.xsd'
 xmlns:xlink='http://www.w3.org/1999/xlink'
      xsi:schemaLocation='http://docbook.org/ns/docbook
                          http://docbook.org/xml/5.0/xsd/docbook.xsd'
 xmlns:xinclude='http://www.w3.org/2001/XInclude'>
 <info>
  <xinclude:include href="../shared/mediaobject-fr-logo.xml" />
@@ -38,8 +38,8 @@
   OpenDJ project offers open source LDAP directory services in Java.</para>
  </abstract>
  <copyright>
   <year>2011-2014</year>
   <holder>ForgeRock AS</holder>
   <year>2011-2015</year>
   <holder>ForgeRock AS.</holder>
  </copyright>
  <authorgroup>
   <author>