Salome HOME
Increment version
[tools/install.git] / doc / readme.html
index b8ed0c0e02641863cf340781207973a561c5e973..137f24800cebd8501c2b72842f35f4fb857c42f1 100755 (executable)
@@ -6,9 +6,9 @@
   <meta name="GENERATOR"
  content="Mozilla/4.8 [en] (X11; U; Linux 2.4.18-14 i686) [Netscape]">
   <meta name="Author"
   <meta name="GENERATOR"
  content="Mozilla/4.8 [en] (X11; U; Linux 2.4.18-14 i686) [Netscape]">
   <meta name="Author"
- content="Vadim SANDLER (v-sandler@opencascade.com)">
-  <title>SALOME 3 Installation Wizard Help</title>
-  <meta content="Vadim SANDLER" name="author">
+ content="Alexander KOVALEV, Open CASCADE SAS (alexander.kovalev@opencascade.com)">
+  <meta name="Copyright" content="2002-2014 CEA">
+  <title>SALOME Installation Wizard Help</title>
 </head>
 <body style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 229);"
  alink="#ff0000" link="#0000ee" vlink="#551a8b">
 </head>
 <body style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 229);"
  alink="#ff0000" link="#0000ee" vlink="#551a8b">
@@ -23,8 +23,8 @@
       </td>
       <td>
       <center>
       </td>
       <td>
       <center>
-      <h1><font size="+4"><font color="#000099">SALOME Installation
-Wizard Help</font>&nbsp;</font></h1>
+      <h3><font size="+4"><font color="#000099">SALOME Installation
+Wizard Help</font></font></h3>
       </center>
       </td>
       <td>
       </center>
       </td>
       <td>
@@ -36,1037 +36,1204 @@ Wizard Help</font>&nbsp;</font></h1>
 </table>
 </center>
 <div align="right"><b><font color="#000099">updated for the version </font><font
 </table>
 </center>
 <div align="right"><b><font color="#000099">updated for the version </font><font
- color="#ff0000">3.0.0</font></b></div>
+ color="#ff0000">7.5.1</font></b></div>
 <hr>
 <ul>
   <li> <a href="#install_from_wizard">Installing products with the
 <hr>
 <ul>
   <li> <a href="#install_from_wizard">Installing products with the
-Installation Wizard</a></li>
-  <li> <a href="#check_version_proc">Notes on check products version
-procedure</a></li>
+Installation Wizard<br>
+    </a></li>
+  <ul>
+    <li><a href="#gui_mode">GUI mode</a></li>
+    <li><a href="#batch_mode">Batch mode</a></li>
+    <li><a href="#env_files">Environment files</a><br>
+    </li>
+  </ul>
   <li> <a href="#pick_up_env">Pick up the environment</a></li>
   <li> <a href="#xml_files">Modifying XML configuration file</a></li>
   <li> <a href="#new_products">Implementing installation scripts for
 the new products</a></li>
   <li> <a href="#pick_up_env">Pick up the environment</a></li>
   <li> <a href="#xml_files">Modifying XML configuration file</a></li>
   <li> <a href="#new_products">Implementing installation scripts for
 the new products</a></li>
+  <li> <a href="#finish_buttons">Customizing Readme page buttons</a></li>
 </ul>
 <h3>
 <hr></h3>
 <h3> <a name="install_from_wizard"></a>Installing products with the <font
  color="#ff0000">Installation Wizard</font></h3>
 </ul>
 <h3>
 <hr></h3>
 <h3> <a name="install_from_wizard"></a>Installing products with the <font
  color="#ff0000">Installation Wizard</font></h3>
-The Installation Wizard can be launched in two modes: gui and batch. <br>
+The Installation Wizard can be launched in two modes: <span
+ style="font-weight: bold;">GUI </span>and <span
+ style="font-weight: bold;">batch</span>. <br>
 The root directory of the Installation Wizard
 The root directory of the Installation Wizard
-contains python script <span style="font-weight: bold;">runInstall</span>.
-To run the Installation Wizard just type <b>runInstall</b> in terminal
-window:<br>
-<p><b>[ python ] runInstall [ -g | -b ] [ -f &lt;xml-file&gt; ] [ -t
-&lt;target-dir&gt; ] [ -tmp &lt;tmp-dir&gt; ]</b> </p>
-<p><b>-g</b><br>
-&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Runs the Installation Wizard in the
+contains Python script <span style="font-weight: bold;">runInstall</span>.
+To run the Installation Wizard just type <b>./runInstall</b> in the
+terminal
+window:<span style="font-weight: bold;"></span><span
+ style="font-weight: bold;"></span>
+<p>[ python ] <b>./runInstall </b>[options]<b><br>
+</b></p>
+<p>Without options this script will launch the SALOME Installation
+Wizard in the GUI mode.<br>
+The default installation settings can be overridden by using of command
+line options. Each option has short and long notations:<br>
+</p>
+<p><b>-g / --gui</b><br>
+</p>
+<div style="margin-left: 40px;">Runs the Installation Wizard in the
 GUI
 GUI
-mode (default option). In this case only<span style="font-weight: bold;">
-&lt;xml-file&gt;</span> key is taken into account.
-Other parameters are ignored. <br>
-<b>-b</b><br>
-&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Runs the Installation Wizard in
-command-line mode. <br>
-<b>-f &lt;xml-file&gt;</b><br>
-&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;The configuration file to be used by
-the
-Installation Wizard.&nbsp; If this parameter is missed then the script
-tries
-to define the <i>Linux </i>version and uses corresponding xml file.
-For
-examle, for the <i>Linux Mandrake 10.1</i> <b>config_Mandrake10_1.xml</b>&nbsp;
+mode (this is the default mode).<br>
+</div>
+<p><b>-b / --batch</b><br>
+</p>
+<div style="margin-left: 40px;">Runs the Installation Wizard in
+the terminal mode. <br>
+</div>
+<p><b>-f FILE / --file=</b><span style="font-weight: bold;">FILE<br>
+</span></p>
+<div style="margin-left: 40px;">
+This is the XML configuration file used by the Installation Wizard. 
+If this option is not used, the installation script tries to define 
+the<i>Linux </i>version and to use the corresponding XML file
+if it is present.
+For example, for <span style="color: rgb(0, 0, 153);">Linux Mandriva
+2010</span>&nbsp; the <b>config_Mandriva_2010.0.xml</b>&nbsp;
 file
 file
-is supposed to be used by default. If the appropriate file is not
-found, <b>config.xml</b>
-is used by default.&nbsp; This file refers to the basic target platform
-which is Mandrake 10.1 for SALOME 3.0 and higher. If config.xml file is
-also not found the warning message box is shown and Installation Wizard
-quits.<br>
-<b>-t &lt;target-dir&gt;</b><br>
-&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;The target directory, SALOME platform
-to
-be installed to. If used, overloads default target directory, given in
-the
-configuration
-xml file (usually <span style="font-weight: bold;">/salome</span>, see
-<a href="#xml_files">here</a>). <br>
-<b>-tmp &lt;tmp-dir&gt;</b><br>
-&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;The directory, which is used to
-contain temporary files.&nbsp; If used, overloads default temporary
-directory,
-given in the
-configuration xml file (usually <span style="font-weight: bold;">/tmp</span><span
- style="font-weight: bold;"></span>, see <a
- href="readme.html#xml_files">here</a>).<br>
-<b>-h</b><br>
-&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Prints help information. <br>
+will be used by default.
+</div>
+<p> <b>-d DIR / --target=DIR</b><br>
 </p>
 </p>
-<p>The installation procedure can support some different Linux
-platforms
-and various number of products. As it was mentioned above the basic
-target platform for SALOME 3.0.0 and higher is <i>Linux Mandrake 10.1</i>.<br>
-The using of configuration xml files gives flexible way to modify the
-list of products to be installed by the Installation Wizard without
-changing program's source code. Just create your own configuration file
-and implement installation scripts for products you want to be provided
-by Wizard. See <a href="#xml_files">modifying XML configuration file</a>
-and <a href="#new_products">implementing installation scripts for the
-new products</a> for more information. </p>
-<p>The <font color="#ff0000">Installation Wizard</font> was built with
-using of the <span style="font-style: italic;">Trolltech's</span> <b><i>Qt&nbsp;
-3.0.5 </i></b>library. The program contains
-several pages. To navigate between pages use <i>"Next"</i> and <i>"Back"</i>
-buttons in the
-lower part of the wizard window. <i>"Cancel"</i> button closes dialog
-window
-and quits the installation procedure. To invoke this help information
-click
-<i>"Help"</i> button. </p>
-<p>Skip the first <i>"Introduction"</i> page by pressing <i>"Next"</i>
-button:
+<div style="margin-left: 40px;">This is the target installation 
+directory for SALOME platform. If used, this option overrides 
+the default target directory, given in the
+configuration XML file (usually<span style="font-weight: bold;">
+${HOME}/salome_&lt;version&gt;</span><!--,
+see
+<a href="#xml_files">here</a> for more details-->).<br>
+</div>
+<p><b>-t DIR / --tmp=DIR </b></p>
+<div style="margin-left: 40px;">This is the directory, for 
+temporary files. If given, this option overrides the default 
+temporary directory, given in the configuration xml file 
+(usually <span style="font-weight: bold;">/tmp</span>
+<span style="font-weight: bold;"></span><!--, 
+see <a href="#xml_files">here</a> for more information-->).<br>
+</div>
+<p><b>-a / --all-from-sources</b></p>
+<div style="margin-left: 40px;">
+Force all the products to be installed from sources (including all
+SALOME modules). If this option is used, all the default installation
+modes for all the products are ignored.<br>
+This option is helpful when the user wants to install SALOME on the
+platform which is not officially supported. In this case, the user can
+try to run the SALOME Installation Wizard with the <span
+ style="font-weight: bold;">-a</span> option in order to build all the
+products from sources.<br>
+<b>Note, that this is long-time operation which can take more than 
+24 hours depending on the computer.</b><br>
+</div>
+<p><b>-s / --single-directory </b></p>
+<div style="margin-left: 40px;">Install all SALOME binaries packages 
+to one directory.<br>
+<b>This option is ignored when --all-from-sources (-a) option is used.
+</b></div>
+<p><b>-h / --help</b><br>
+</p>
+<div style="margin-left: 40px;">Prints help information on
+the usage of the Installation Wizard. <br>
+</div>
+<p></p>
+<p>
+<b>-v / --version</b><br>
+</p>
+<div style="margin-left: 40px;">Prints version information
+(<span style="font-weight: bold;">Note: </span>this
+is the version number of the Installation Wizard, not of SALOME platform). <br>
+</div>
+<p>
+</p>
+<p>The installation procedure supports different <span style="color: rgb(0, 0, 153);">Linux
+</span>platforms and installs various 3d-party installation prerequisite products, which
+are required by SALOME platform. Among supported Linux platforms there are Mandriva 2008
+(32bit and 64bit), Mandriva 2010 (32bit and 64bit), Debian 4.0 Etch (32bit and 64bit),
+Debian 5.0 Lenny 64bit, Debian 6.0 Squeeze 64bit and other ones.<br>
+The usage of configuration XML files provides a flexible way to modify
+the list of products to be installed by the Installation Wizard without
+changing the source code of the application. Just create your own XML
+configuration file and implement installation scripts for the prerequisite products you
+need and then use this XML file with the Installation Wizard. This can
+be done, for example, for some <span style="color: rgb(0, 0, 153);">Linux
+</span>platform which is not supported directly by the
+Installation Wizard. See <a href="#xml_files">Modifying XML
+configuration file</a> and <a href="#new_products">Implementing installation
+scripts for the new products</a> sections for more information. </p>
+<h3 style="margin-left: 40px;"> <a name="gui_mode"></a>GUI
+mode<br>
+</h3>
+<p>The GUI of the <font color="#ff0000">Installation Wizard</font> has been
+developed with <span style="font-weight: bold;"><span style="color: rgb(0, 0, 153);">Qt
+3.3.8 </span> </span>toolkit by <span style="color: rgb(0, 0, 153);">
+Trolltech </span>. After launching the Installation Wizard
+in the GUI mode the wizard window is shown to the user. This wizard
+guides the user through several subsequent pages. To navigate between
+the pages use <i>"Next"</i> and <i>"Back"</i>
+buttons in the lower part of the wizard window. <i>"Cancel"</i> button
+closes the wizard window&nbsp;and quits the installation procedure after user
+confirmation. <i>"Help"</i> button opens a window with the help information. </p>
+<p>The first "<span style="font-style: italic;">Introduction"</span>
+page is shown in <a href="#IntroPage">Figure 1</a>.
+Skip this page by pressing <i>"Next"</i> button:
 </p>
 <center><a name="IntroPage"></a><br>
 </p>
 <center><a name="IntroPage"></a><br>
-<img alt="Intro page" src="intropage.png"
- style="width: 586px; height: 390px;">
+<img alt="Intro page" src="intropage.png" style="width: 606px; height: 422px;">
 <p><b>Figure 1:</b> "Introduction" page</p>
 </center>
 <p><b>Figure 1:</b> "Introduction" page</p>
 </center>
-<p>In the second page you are proposed to enter the target directory
-where all selected products should be installed to. You can also press <i>"Browse..."</i>
-button and choose the folder for installation using standard <b><i>Qt</i></b>'s
-browse directory dialog box. <br>
-If the directory you want to install products does not exist you will
-be prompted to confirm directory creation. If you type wrong directory
-path, or if you have no permission for the directory you use, the
-corresponding message box will raise. </p>
-<p>The Installation Wizard has two modes of the installation: basic
-(default) and
-advanced. In the basic mode it is necessary just to enter target
-directory. If you want
-to use advanced mode, click <i>"More..."</i> button. </p>
-<p>In the advanced mode you have the possibility to select products to
-be installed (see <a href="#ProductPage">Fig.2</a> ). Each product can
-have several options of installation: you have a possibility to use
-native products, install already precompiled binaries, build product
-from the sources or not install it at all. Possible options and default
-choice are provided by the configuration file. You can mark the
-products you want to install by clicking the corresponding
-radiobuttons in the list view in the left part of the page. Note that
-some products can be installed only together with other products (or
-these prerequisite products should be already installed on your
-computer). The installation procedure
-has a special feature to automatically mark these products in the list
-view.
-For example, in order to install <b><i>PyQt</i></b> it's necessary to
-have
-<b><i>gcc, Python</i></b>,<b><i> Qt</i></b> and <b><i>Sip</i></b>
-installed.
-Therefore all these products will be marked when you check on <b><i>PyQt</i></b>.
-This feature can be switched off by clicking <i>"Auto set
-prerequisites products"</i> checkbox. <br>
-Special button in the right part of the page - <i>"Unselect All" </i>-
-allows to reset quickly all products to the <i>"not install"</i>
-state. <br>
-If you want to use native products (like <span
- style="font-weight: bold;">gcc</span>, <span
- style="font-weight: bold;">tcl</span>, etc.), select <i>"use native" </i>option.
+<p>In the second page you are proposed to select the type of the
+SALOME installation.<br>
+<br>
+At this step three possible types of installation are available:<br>
+</p>
+<ol>
+  <li><span style="font-style: italic;"> <font color="#ff0000"><b>"Install binaries"</b></font></span>
+type:<br>
+    <ul>
+      <li>all binaries and sources of the chosen modules are
+installed;</li>
+      <li>all binaries of the chosen prerequisites are installed.</li>
+      <br>
+    </ul>
+  </li>
+  <li><span style="font-style: italic;"> <font color="#ff0000"><b>"Install sources"</b></font></span>
+type:<br>
+    <ul>
+      <li>all sources of the chosen modules and prerequisites are
+installed without compilation.</li>
+      <br>
+    </ul>
+  </li>
+  <li><span style="font-style: italic;"> <font color="#ff0000"><b>"Install sources and
+make compilation"</b></font></span> type:<br>
+    <ul>
+      <li>all sources of the chosen modules and prerequisites are
+installed;</li>
+      <li>all sources are compiled.</li>
+    </ul>
+  </li>
+</ol>
+<p></p>
+<p>In case you select "Install sources and make compilation"
+installation type, then you can also check "Remove sources and
+temporary files after compilation" option.
+</p>
+<center><a name="Installation_type_page"></a><br>
+<img alt="Installation type page" src="installtypepage.png" style="width: 606px; height: 422px;">
+<p><b>Figure 2:</b> "Type of installation" page
+</p>
+</center>
+<p>After the installation type has been selected you click <i>"Next"</i>
+button and the Installation Wizard tries to determine the Linux
+platform to load the corresponding configuration file. If the operating
+system is not defined or the current SALOME package does not support
+this system, the warning message will appear ("<i>Install binaries</i>"
+and "<i>Install sources</i>" installation types only):
+</p>
+<center><a name="Platform_page"></a><br>
+<img alt="Platform page" src="platformpage.png" style="width: 603px; height: 420px;">
+<p><b>Figure 3:</b> "Installation platform" page
+</p>
+</center>
+<p>If "<i>Install sources and make compilation</i>"
+installation type has been selected, the warning message will be
+slightly different: "<i>Your Linux platform is not supported by
+this SALOME package and compilation is not tested on this one</i>".<br>
+There is a list of all platforms supported by SALOME, but only those
+supported by the current package are available for selection. in this
+page you need to to select the reference platform, if you wish to
+proceed with the present installation procedure.<br>
+<b>Note:</b> this page is not displayed if the installation
+platform has been defined automatically.
+</p>
+<p>In the next page you are proposed to enter the target
+installation directory for SALOME platform. You can also press <i>"Browse..."</i>
+button and choose the destination folder using the standard browse
+directory dialog box. <br>
+If the necessary directory does not exist you are
+prompted to confirm the directory creation. If you type a wrong
+directory
+path, or if you do not have the permissions to write to the chosen
+directory, the corresponding message box is shown.<br>
+</p>
+<p><b>Note: you are strongly recommended to avoid using
+directory names containing spaces.</b> Otherwise you can
+experience some troubles with the
+installation.
+</p>
+<center><a name="Directory_page"></a><br>
+<img alt="Directory page" src="directorypage.png" style="width: 606px; height: 422px;">
+<p><b>Figure 4:</b> "Installation directory" page
+</p>
+</center>
+<p>You can select the products to be installed in the "Choice of
+the products to be installed" page.<br>
+In the default mode it gives you the possibility to view and select
+SALOME modules only. There is a hidden list of 3d-party prerequisite
+products. To show it, just click "<i>Show prerequisites...</i>"
+button.
+</p>
+<center><a name="Products_page1"></a><br>
+<img alt="Products page (default mode)" src="productpage1.png" style="width: 606px; height: 422px;">
+<p><b>Figure 5:</b> Choice of the SALOME modules
+</p>
+</center>
+<p>In the full mode you also have the possibility to select
+prerequisites.<br>
+The checkbox before each product indicates if this one will be
+installed or not (checked or unchecked). The second column shows the
+disk space occupied by the corresponding module. This value depends on
+the selected type of installation.<br>
+To hide the prerequisites list - click "<i>Hide prerequisites</i>"
+button.</p>
+<center><a name="Products_page2"></a><br>
+<img alt="Products page (full mode)" src="productpage2.png" style="width: 606px; height: 422px;">
+<p><b>Figure 6:</b> Choice of the prerequisites
+</p>
+</center>
+<p>
+Some products may require some other prerequisite products to be
+installed. So the installation procedure has a special feature to
+automatically mark these products in the list view. For example, to
+install PyQt it is necessary to have gcc, Python, Qt and Sip installed,
+and these products will be also turned on when you check on PyQt. GEOM
+module requires KERNEL, GUI modules and such prerequisites as:
+OpenCascade, Python, Swig, Qt, etc.
+</p>
+<p>The dependencies between SALOME modules are managed in the
+following way:
+</p>
+<ul>
+  <li>If one module is unchecked, all modules which depend on
+this one are also unchecked automatically;</li>
+  <li>If one module is checked, all modules required for this one
+are also checked automatically.</li>
+</ul>
+<p></p>
+<p>Dependency between modules and prerequisites is realized in
+the following way:
 </p>
 </p>
-<p>There are also two checkboxes on this page: <i>"SALOME sources"</i>
-and <i>"SALOME binaries"</i>.
-These three-state checkboxes allow quick selecting/unselecting SALOME
-itself packages
-for the installation.</p>
-<p>The box at the right side of the page displays the information about
-currently highlighted product: name, version, short description (if
-provided in XML file), required
-disk space, disk space required for temporary files, list of
-prerequisites and current user
-choice.
+<ul>
+  <li>The choices made by the user in the list of modules have a
+direct impact on the list of prerequisites;</li>
+  <li>Whenever a module is checked, all the necessary
+prerequisites are checked automatically with no possibility for the
+user to uncheck them (see <a href="#Products_page3">Fig.7</a>
+below);</li>
+  <li>Whenever a module is unchecked, according to the remaining
+checked modules, the unnecessary prerequisites are unchecked
+automatically (see <a href="#Products_page3">Fig.7</a>
+below).</li>
+</ul>
+It is possible to check again the prerequisites, which have been
+automatically unchecked. In other words, it is possible to add more
+prerequisites than necessary.
+<p></p>
+<center><a name="Products_page3"></a><br>
+<img alt="Products page (dependencies presentation)" src="productpage3.png" style="width: 606px; height: 422px;">
+<p><b>Figure 7:</b> Dependencies between modules and
+prerequisites
 </p>
 </p>
-<center><a name="ProductPage"></a><br>
-<img src="productpage.png" alt="Products page"
- style="width: 586px; height: 589px;">
-<p><b>Figure 2:</b> "Installation settings" page in the advanced mode</p>
 </center>
 </center>
-<p>The <i>"Total disk space required:"</i> field displays how much
-disk space on the hard drive is required for installation of selected
-products. <br>
-<b>Note: </b>Please, take into account that displayed amount of
-required disk space is approximate and may differ when you install
-products on your hard drive. </p>
+<p>The "<i>Installation with GUI</i>" checkbox allows
+managing the installation of the graphical interface. Only modules for that 
+'woguimode' attribute is set to "true" value in the XML file 
+(see <a href="#xml_files">here</a> for more information about
+customizing this installation mode) support without GUI mode and 
+will be checked and installed with their necessary prerequisites in 
+case of installation without GUI. And other modules are unchecked with no
+possibility to check them in this mode (see <a href="#Products_page4">figure</a> below).<br>
+By default 'Installation with GUI' checkbox is switched on.
+</p>
+<center><a name="Products_page4"></a><br>
+<img alt="Products page (Installation without GUI)" src="productpage4.png" style="width: 606px; height: 422px;">
+<p><b>Figure 8:</b> Installation without GUI mode
+</p>
+</center>
+<p>The box at the right side of the page displays the information
+about the currently selected product: name, version and short description,
+required disk space, disk space required for the temporary files and
+the list of prerequisites (this information is provided in the XML
+file).
+</p>
+<p>The <i>"Disk space required:"</i> field displays
+how much
+disk space on the hard drive is required for installation of the
+selected
+products.<br>
+<b>Note:</b> please, take into account that the displayed
+amount of
+the required disk space is approximate and may differ when you actually
+install products on your hard drive.
+</p>
 <p>The installation procedure uses a special directory to store
 <p>The installation procedure uses a special directory to store
-temporary files. The <i>"Space for temporary files:"</i> field shows
-the information about required disk space on the hard drive for
-extracting and compiling of the selected products. You can change the
-default directory - just type path
-to the folder you want to use or click on the corresponding <i>"Browse..."</i>
-button. <br>
-<span style="font-weight: bold;">Note:</span> actually temporary files
-are stored not in the directory entered by user. The Installation
-Wizard creates in this directory an additional one folder named
-something like INSTALLWORK<span style="font-weight: bold;">XXXXX</span>
-where XXXXX is unique number. This allows to launch several
+temporary files. The <i>"Space for temporary files"</i>
+field shows
+the information about the required disk space on the hard drive for
+extracting and compiling the selected products. You can change the
+temporary directory (this information is provided in the XML file) to
+the folder you want.<br>
+<span style="font-weight: bold;">Note:</span>
+actually, the temporary files
+are not stored directly in the directory selected by the user. The
+Installation Wizard creates in this directory an additional folder
+named
+like INSTALLWORK<span style="font-weight: bold;">XXXXX</span>
+where XXXXX is a unique number. This allows launching several
 Installation Wizards simultaneously. This temporary directory is
 Installation Wizards simultaneously. This temporary directory is
-removed automaticaly when the installation finishes.<br>
+removed automatically when the installation finishes.<br>
+</p>
+<p>The installation procedure also checks the available disk
+space. If
+there is not enough disk space on your hard drive you will see the
+corresponding error message box.
+</p>
+<p>Also in the current version of Installation Wizard is possible
+to install all binaries of the selected SALOME modules into a <b>single</b>
+directory. It is "<i>SALOME</i>" directory.
+For this purpose there is a checkbox "<i>Install modules to a
+single directory</i>" checkbox exists (see <a href="#Products_page4">Fig.8</a>).<br>
+This feature helps to get shorter PYTHONPATH and LD_LIBRARY_PATH
+environment variables.<br>
+<b>Note:</b> the installation into a single directory is
+available with the binaries installation type only.
+</p>
+<p>To proceed further, click <i>"Next"</i> button.
+At this moment
+the program will make some tests to check the installation settings: if
+there is enough disk space on the hard drive, check for the
+dependencies for each product you have selected to be installed. If any
+test fails you will see the corresponding warning message box.
+Otherwise the wizard will proceed to the next page:
+</p>
+<center><a name="ChoicePage"></a><br>
+<img alt="Choice page" src="choicepage.png" style="width: 606px; height: 422px;">
+<p><b>Figure 9:</b> "Check your choice" page
 </p>
 </p>
-<p>The installation procedure also checks available disk space on the
-selected directories according to the products selected. If there is no
-enough disk space on your hard drive you will see the corresponding
-error message box. </p>
-<p><b>Note: </b>Unfortunately, the configure procedure has a very
-annoying bug under Linux platform. The directory should be obligatory
-entered without spaces. For example, the configure procedure for <b><i>gcc</i></b>
-won't
-work if you pass the following parameter: <i>--prefix="/New Folder 1"</i>.
-<b>Therefore you are strongly recommended not to use directory names
-containing
-spaces.</b> </p>
-<p>To proceed further click <i>"Next"</i> button. At this moment
-program
-will make some tests to check installation settings: if there is enough
-disk
-space on the hard drive, if native products are preinstalled,
-dependencies
-(prerequisites) for each product you have selected to be
-installed.
-If any test fails you will see the corresponding warning message box.
-Otherwise
-wizard will follow to the next page: </p>
-<center>
-<p><a name="ChoicePage"></a><br>
-<img src="choicepage.png" alt="Choice page"
- style="width: 586px; height: 589px;"> </p>
-<p><b>Figure 3:</b> "Check your choice" page</p>
 </center>
 </center>
-<p>This page summarizes the installation settings you've made on the
-previous pages. You can check again your choice to change it if
-necessary. <br>
-When you are sure that everything is OK, press <i>"Next"</i> button to
-follow to the <a href="#ProgressPage">next page</a>. </p>
-<center><a name="ProgressPage"></a><br>
-<img src="progresspage.png" alt="Progress page"
- style="width: 586px; height: 589px;">
-<p><b>Figure 4:</b> "Installation progress" page</p>
+<p>This page summarizes the installation options you've selected
+in the
+previous pages. You can review again your choices and change them if
+necessary returning to the previous pages. <br>
+When you are sure that everything is OK, press <i>"Next"</i>
+button to
+follow to the <a href="#ProgressPage1">progress page</a>.
+</p>
+<center><a name="ProgressPage1"></a><br>
+<img alt="Progress page (not started yet)" src="progresspage1.png" style="width: 606px; height: 422px;">
+<p><b>Figure 10:</b> "Installation progress" page:
+not started yet
+</p>
 </center>
 </center>
-<p>To start installation of the selected products click <i>"Start"</i>
+<div style="text-align: left;">To start the installation
+of the selected products click <i>"Start"</i>
 button. It launches the shell installation script and you will be able
 button. It launches the shell installation script and you will be able
-to see the output of the script in the topmost dialog's frame. In case
-of any installation problems (for example, you have accidentally
-removed the temporary directory) the script will ask you: <i>"Would
-you like to continue : (Y,N) ?"</i>. You can answer this question by
-typing [Y] or [N] in the middle text edit control frame. <br>
-<b>Note:</b> press [Enter] when you finish typing data. </p>
-<p>The <i>"Installation Status"</i> frame window shows you the
-progress of installation. It contains a list of all selected products
-with brief descriptions. "<font color="#ff0000">Waiting</font>"
-description means that installation of this product have not started
-yet. Currently installing product is marked as "<font color="#ff9900">Processing</font>".
-All installed products have "<font color="#33ff33">Completed</font>"
-description. </p>
-<p>You can abort installation and close the installation procedure
-using
-<i>"Cancel"</i> button. It sends the signal "SIGTERM" to the shell
-script.
-The script has a signal handler and will try to clear all temporary
-files.
-The process of removing temporary files can take some time, so the
-installation
-wizard will wait 3 seconds before closing. </p>
-<p>At the end of installation (all selected products have been
-installed
-successfully) you can go back to the previous pages to start a new
-installation
-or click <i>"Next"</i> button to go the Readme page: </p>
-<center>
-<p><a name="readmepage"></a><br>
-<img src="readmepage.png" alt="Readme page"
- style="width: 586px; height: 589px;"> </p>
-<p><b>Figure 5:</b> "Finish installation" page</p>
+to see the output of the script in the topmost frame of the dialog box.
+If any errors occur during the installation progress, the corresponding
+messages will be printed to the log window in the bold red font and 
+installation process will be aborted with error message box. But user 
+has possibility to change this default behaviour by 
+<i>"Ignore errors"</i> checkbox. It is necessary to check 
+it before start and all occured errors will be passed, 
+and installation will be continued in any case.<br>
+</div>
+<div style="text-align: left;">It is possible to break the
+installation at any time by pressing <span style="font-style: italic;">"Stop"</span>
+button. Then you can get back to the previous pages if you wish to
+change the installation settings or restart the installation by
+pressing <span style="font-style: italic;">"Start"</span>
+button again.<br>
+</div>
+<p style="text-align: left;"><span style="font-weight: bold;">Note:</span>
+in the current
+implementation it is not possible to resume the stopped installation
+process; the installation will restart from the very beginning. <br>
+</p>
+<center><a name="ProgressPage2"></a><br>
+<img alt="Progress page (installation started)" src="progresspage2.png" style="width: 606px; height: 422px;">
+<p><b>Figure 11:</b> "Installation progress" page:
+installation in
+progress
+</p>
+</center>
+<p>The <i>"Installation Status"</i> frame window
+shows you the
+progress of installation. "<font color="#ff0000">Waiting</font>"
+status
+means that the installation of this product has not started
+yet. The product currently being installed is marked as "<font color="#ff9900">Processing</font>" and is displayed in
+the status bar under "Installation Status" view. All installed products
+have "<font color="#33ff33">Completed</font>"
+status.
+</p>
+<p>You can abort the installation and close the installation
+procedure
+using <i>"Cancel"</i> button. <br>
+<span style="font-weight: bold;">Note:</span> this
+button sends the
+signal "SIGTERM" to the shell script.
+The script tries to clear all temporary files.
+The process of removing the temporary files can take some time, so the
+installation wizard will wait for 3 seconds before closing.
+</p>
+<p>At the end of the installation "<b>Installation completed</b>"
+message will appear in the status bar. You can return to the previous
+pages to start a new installation or click <i>"Next"</i>
+button to go to the readme page: </p>
+<center><a name="readmepage"></a><br>
+<img alt="Readme page" src="readmepage.png" style="width: 606px; height: 422px;">
+<p><b>Figure 12:</b> "Finish installation" page
+</p>
 </center>
 <p>In this page you can read important information about the
 </center>
 <p>In this page you can read important information about the
-Instalation
-Wizard itself and some hints: how to run and test SALOME or how to
-build
-SALOME from the sources. This is the contents of the README file which
-you
-can find in the root directory of the Installation Wizard. <br>
-You can also launch SALOME Desktop from this page by clicking <i>"Launch
-SALOME" </i>button. </p>
-<p><a name="env_files"></a>During the process of installation the
+Installation Wizard itself and some tips: how to run and test SALOME or
+how to build SALOME from the sources. This is also described the
+README file which you can find in the root directory of the
+Installation Wizard. <br>
+You can also launch SALOME Desktop from this
+page or read the Release Notes file by clicking on the corresponding
+buttons in the lower part of the page (see <a href="#xml_files">here</a>
+and <a href="#finish_buttons">here</a> for more
+information about
+customizing these buttons).<br>
+</p>
+<h3 style="margin-left: 40px;"> <a name="batch_mode"></a>Batch mode<br>
+</h3>
+To launch the Installation Wizard in the batch mode use <span
+style="font-weight: bold;">-b</span>
+(<span style="font-weight: bold;">--batch</span>) parameter.<br>
+In this mode the GUI wizard is not shown but all the installation
+status is displayed directly in the console. In the batch mode user do
+not have a possibility to change installation settings which are given
+in the configuration file, except target and temporary directories
+which can be overridden by the corresponding command line options.<br>
+There are two exceptions: <b>--all-from-sources</b>
+(<b>-a</b>) option which enables
+special installation mode in which all the products (including SALOME
+modules) are installed from sources, ignoring default mode defined in
+the XML configuration file (see <a href="#install_from_wizard">here</a>
+for details) and <b>--single-directory</b> (<b>-s</b>) option which defines
+that all SALOME modules have to be installed into the one directory 
+(SALOME_&lt;version&gt;, by default, where &lt;version&gt; is SALOME version).
+<center><a name="BatchMode"></a><br>
+<br>
+<img alt="Batch mode" src="batchmode.png"
+style="width: 745px; height: 415px;">
+<p><b>Figure 9:</b> Batch mode</p>
+</center>
+<h3 style="margin-left: 40px;"><a name="env_files"></a>Environment
+files</h3>
+<p>During the process of installation the
 script creates some
 script creates some
-environment files to simplify procedure of launching SALOME. These
+environment files to simplify the procedure of launching SALOME. These
 shell scripts set
 all necessary environment variables for all products you have
 installed.
 shell scripts set
 all necessary environment variables for all products you have
 installed.
-To learn how installation scripts collects the environment, see&nbsp;<a
- href="#pick_up_env"> here</a>. These files are: <b>salome.csh</b> + <b>salome.sh</b>
-in the <span style="font-style: italic;"><span
- style="font-weight: bold;">KERNEL module</span></span><b><i> sources</i></b>
+To learn how the installation scripts collect the environment, see <a href="#pick_up_env">here</a>. These files are: <b>salome.csh</b>
++ <b>salome.sh</b>
+in the <span style="font-style: italic;"><span style="font-weight: bold;">KERNEL module</span></span><b><i>
+sources</i></b>
 and <span style="font-style: italic;"><span style="font-weight: bold;">KERNEL
 and <span style="font-style: italic;"><span style="font-weight: bold;">KERNEL
-module</span></span><b><i> binaries</i></b> root directories and <b>env_products.csh</b>
-+ <b>env_products.sh </b>in the target directory.<br>
+module</span></span><b><i> binaries</i></b>
+root directories and <b>env_products.csh</b>
++ <b>env_products.sh </b>and <span style="font-weight: bold;">env_build.csh
+</span>+ <span style="font-weight: bold;">env_build.sh</span>
+in the
+target installation directory.<br>
 </p>
 </p>
-<span style="font-weight: bold;">Note:</span> <b>salome.(c)sh</b> and <b>env_products.(c)sh
-files</b> are slightly different: env_products.* files are optimized to
-be used for the building of SALOME modules from sources (see <span
- style="font-weight: bold;">README </span>file provided with the
-installation procedure on th CD). The salome.* files are optimized for
-the SALOME launching. This difference is defined by the environment
+<span style="font-weight: bold;">Note:</span> there
+is some difference
+between these files: <span style="font-weight: bold;">env_build.*</span>
+files are optimized to
+be used for the building of SALOME modules from sources (see <span style="font-weight: bold;">README </span>file
+provided with the
+installation procedure on the CD). The <span style="font-weight: bold;">env_products.*</span>
+(and<span style="font-weight: bold;"> salome.*</span>)
+files are
+optimized for
+the SALOME launching. The behavior is defined by the environment
 variable<span style="font-weight: bold;"> </span><b>ENV_FOR_LAUNCH</b>
 variable<span style="font-weight: bold;"> </span><b>ENV_FOR_LAUNCH</b>
-which is set to 0 in env_products.* files and to 1 in salome.* files.<br>
-<b><br>
-</b>
+which is set to <span style="font-weight: bold;">0</span>
+in
+env_build.* files and to <span style="font-weight: bold;">1</span>
+in
+env_products.*
+(salome.*) files.<br>
+<br>
 <hr>
 <hr>
-<h3><a name="check_version_proc"></a>Notes on<font color="#ff0000">
-check products version</font> procedure</h3>
-Unfortunately under Linux platform there is no exact algorithm to
-identify the product's version. The table below gives an idea how the
-version is checked for the preinstalled products for the Linux Mandrake
-10.1 platform. <br>
-&nbsp;
-<table nosave="" border="1" width="100%">
-  <tbody>
-    <tr nosave="">
-      <th nosave="">
-      <center><font size="+1">Product</font></center>
-      </th>
-      <th nosave="">
-      <center><font size="+1">Algorithm of checking</font></center>
-      </th>
-      <th nosave="">
-      <center><font size="+1">Preliminary steps before launching</font>
-      <br>
-      <font size="+1">of installation procedure</font></center>
-      </th>
-      <th nosave="">
-      <center><font size="+1">Notes</font></center>
-      </th>
-    </tr>
-    <tr>
-      <td>gcc 3.4.1</td>
-      <td><span style="font-weight: bold;">ver</span>=`gcc -dumpversion`</td>
-      <td>
-      <center>-</center>
-      </td>
-      <td><span style="font-weight: bold;">ver</span> should be 3.4.1.<br>
-It is recommended to use native gcc on Mandrake 10.1.<br>
-      </td>
-    </tr>
-    <tr nosave="">
-      <td>tcl 8.4.5</td>
-      <td nosave=""><span style="font-weight: bold;">1)</span> check if
-      <span style="font-weight: bold;">TCLHOME</span> variable is set<br>
-      <span style="font-weight: bold;">2)</span> existence of tclsh8.4<br>
-      <span style="font-weight: bold;">3)</span> existence of wish8.4 <br>
-      <span style="font-weight: bold;">4)</span> existence of
-libtcl8.4.so <br>
-      <span style="font-weight: bold;">5)</span> existence of
-libtk8.4.so<br>
-      </td>
-      <td>set <span style="font-weight: bold;">TCLHOME</span> if you
-have preinstalled version of tcl. <br>
-add a directory where libraries can be found to the <span
- style="font-weight: bold;">LD_LIBRARY_PATH</span><br>
-      </td>
-      <td>Unfortunately there is no more strict way to check the tcl
-version number.<br>
-It is recommended to use native tcl/tk on Mandrake 10.1.</td>
-    </tr>
-    <tr>
-      <td valign="top">boost 1.31.0<br>
-      </td>
-      <td valign="top"><span style="font-weight: bold;">1)</span> check
-if <span style="font-weight: bold;">BOOSTDIR</span> variable is set.<br>
-      <span style="font-weight: bold;">2)</span> <span
- style="font-weight: bold;">ver</span>=`egrep 'BOOST_VERSION [0-9]+'
-${BOOSTDIR}/boost/version.hpp | sed 's/.*BOOST_VERSION
-\([0-9]\+\)/\1/g'`<br>
-      </td>
-      <td valign="top">set <span style="font-weight: bold;">BOOSTDIR</span>
-if you have preinstalled version of
-boost<br>
-      </td>
-      <td valign="top">we use version.hpp file in the boost
-distribution to get the version information.<br>
-      <span style="font-weight: bold;">ver</span> should be equal to
-103100.<br>
-      </td>
-    </tr>
-    <tr>
-      <td>Open CASCADE 5.2.3<br>
-      </td>
-      <td><span style="font-weight: bold;">1)</span> check if <span
- style="font-weight: bold;">CASROOT</span> variable is set<br>
-      <span style="font-weight: bold;">2)</span> ver_major=`grep
-"!define OCC_VERSION_MAJOR"
-${CASROOT}/inc/Standard_Version.hxx | awk '{print $3}'`<br>
-      <span style="font-weight: bold;">3)</span> ver_minor=`grep
-"!define OCC_VERSION_MINOR"
-${CASROOT}/inc/Standard_Version.hxx | awk '{print $3}'`<br>
-      <span style="font-weight: bold;">4)</span> <span
- style="font-weight: bold;">ver</span>="$ver_major.$ver_minor"<br>
-      <span style="font-weight: bold;">5)</span> Check existence of
-libStdPlugin.so in OpenCASCADE distribution,<br>
-      </td>
-      <td>set <span style="font-weight: bold;">CASROOT</span> if you
-have preinstalled version of Open CASCADE</td>
-      <td>CASCADE's Standard_Version.hxx file provides version
-information.<br>
-      <span style="font-weight: bold;">ver</span> should be equal to
-5.2.<br>
-      <br>
-Unfortunately there is impossible to define release version number.
-Instead we check if libStdPlugin.so library exists: it is introduced in
-OpenCASCADE from version 5.2.2.<br>
-      </td>
-    </tr>
-    <tr>
-      <td>Python 2.3.4</td>
-      <td><span style="font-weight: bold;">1)</span> <span
- style="font-weight: bold;">PYTHONHOME</span> variable should be set<br>
-      <span style="font-weight: bold;">2)</span> isPython=`which
-python` <br>
-      <span style="font-weight: bold;">3)</span> <span
- style="font-weight: bold;">ver</span>=`python -V`</td>
-      <td>set <span style="font-weight: bold;">PYTHONHOME</span> to
-root Python distribution folder;<br>
-add the directory where python can be found to the <span
- style="font-weight: bold;">PATH</span> variable<br>
-      </td>
-      <td>Python should exist and <span style="font-weight: bold;">ver</span>
-should be equal to 2.3.4 <br>
-It is recommended to use native Python on Mandrake 10.1.</td>
-    </tr>
-    <tr>
-      <td>Swig 1.3.24</td>
-      <td><span style="font-weight: bold;">ver</span>=`swig -version
-2&gt;&amp;1 | grep -i version | awk '{ print $3 }' | sed -e
-'s/^\([0-9.]*\)\(.*\)/\1/'`</td>
-      <td>add the directory where swig binary can be found to the <span
- style="font-weight: bold;">PATH</span> variable</td>
-      <td>Swig should exist and <span style="font-weight: bold;">ver</span>
-should be equal to 1.3.24.</td>
-    </tr>
-    <tr>
-      <td>Qt 3.3.3</td>
-      <td><span style="font-weight: bold;">1) QTDIR</span> variable
-should be set.<br>
-      <span style="font-weight: bold;">2) ver</span>=`grep
-"QT_VERSION_STR" ${QTDIR}/include/qglobal.h | sed -e
-'s%^#define QT_VERSION_STR\([[:space:]]*\)%%g' -e 's%\"%%g'`</td>
-      <td>set <span style="font-weight: bold;">QTDIR</span> if you
-have preinstalled version of qt</td>
-      <td>Qt's qglobal.h file provides version information: <span
- style="font-weight: bold;">ver</span> should
-be equal to 3.0.5.<br>
-It is recommended to use native Qt on Mandrake 10.1.</td>
-    </tr>
-    <tr>
-      <td style="vertical-align: top;">msg2qm (Qt 3.3.3 compatible)<br>
-      </td>
-      <td style="vertical-align: top;"><span style="font-weight: bold;">MSG2QM_ROOT</span>
-variable should be set.<br>
-      </td>
-      <td style="vertical-align: top;">set&nbsp; <span
- style="font-weight: bold;">MSG2QM_ROOT</span> if you have preinstalled
-version of msg2qm tool<br>
-      </td>
-      <td style="vertical-align: top;">msg2qm is Qt tool used to
-convert text *.po files to *.qm resource files. Unfortunately this tool
-is not included to the Qt distribution and provided only in its sources
-package. We distribute this tool with the Installation Wizard.<br>
-In addition there is no way to check the version number of msg2qm tool.<br>
-      </td>
-    </tr>
-    <tr>
-      <td>Qwt 4.2.0/0.4.2</td>
-      <td><span style="font-weight: bold;">1)</span> <span
- style="font-weight: bold;">QWTHOME</span> variable should be set.<br>
-      <span style="font-weight: bold;">2)</span> check if
-libqwt.so.4.2.0 exists<br>
-      </td>
-      <td>set&nbsp; <span style="font-weight: bold;">QWTHOME</span> if
-you have preinstalled version of qwt</td>
-      <td>Unfortunately there is no strict way to check qwt version
-number.<br>
-We try to find libqwt.so.4.2.0 in the ${<span style="font-weight: bold;">QWTHOME</span>}/lib
-folder.&nbsp;</td>
-    </tr>
-    <tr>
-      <td>Hdf 5-1.6.3</td>
-      <td><span style="font-weight: bold;">1) HDF5HOME</span> variable
-should be set.<br>
-      <span style="font-weight: bold;">2)</span> existence of
-libhdf5.so.0.0.0 <br>
-      <span style="font-weight: bold;">3)</span> existence of
-libhdf5.settings<br>
-      <span style="font-weight: bold;">4)</span> <span
- style="font-weight: bold;">ver</span>=`grep "HDF5 Version:"
-${HDF5HOME}/lib/libhdf5.settings | awk
-'{print $3}'`</td>
-      <td>set <span style="font-weight: bold;">HDF5HOME</span> if you
-have preinstalled version of hdf</td>
-      <td>We try to find libhdf5.so.0.0.0 and libhdf5.settings in
-${<span style="font-weight: bold;">HDF5HOME</span>}/lib folder. <br>
-File libhdf5.settings contains the following version information: <br>
-HDF5 Version: 1.6.3</td>
-    </tr>
-    <tr>
-      <td>Med 2.2.2</td>
-      <td><span style="font-weight: bold;">1) MED2HOME</span> variable
-should be set.<br>
-      <span style="font-weight: bold;">2)</span> existence of
-libmed.so.1.0.1</td>
-      <td>set <span style="font-weight: bold;">MED2HOME</span> if you
-have preinstalled version of med</td>
-      <td>Unfortunately there is no strict way to check med version
-number.<br>
-We try to find libmed.so.1.0.1 in ${<span style="font-weight: bold;">MED2HOME</span>}/lib
-folder. <br>
-If you have problem with preinstalled version of med reinstall it.</td>
-    </tr>
-    <tr>
-      <td>Vtk 4.2.6</td>
-      <td><span style="font-weight: bold;">1) VTKHOME</span> variable
-should be set.<br>
-      <span style="font-weight: bold;">2)</span> existence of
-libvtkCommon.so</td>
-      <td>set <span style="font-weight: bold;">VTKHOME</span> if you
-have preinstalled version of vtk</td>
-      <td>Unfortunately there is no strict way to check VTK version
-number.<br>
-We try to find libvtkCommon.so in ${<span style="font-weight: bold;">VTKHOME</span>}/lib/vtk
-folder. <br>
-If you have problem with preinstalled version of vtk reinstall it.</td>
-    </tr>
-    <tr>
-      <td valign="top">Netgen 4.3<br>
-      </td>
-      <td valign="top"><span style="font-weight: bold;">NETGENROOT</span>
-variable should be set. </td>
-      <td valign="top">set <span style="font-weight: bold;">NETGENROOT</span>
-if you have preinstalled version
-of Netgen.<br>
-      </td>
-      <td valign="top">Unfortunarely we can't find anything about
-netgen version.<br>
-We just check if <span style="font-weight: bold;">NETGENROOT</span>
-environment varible is set.<br>
-      </td>
-    </tr>
-    <tr>
-      <td>OmniORB 4.0.5, <br>
-OmniORBpy 2.5, <br>
-OmniNotify 2.1</td>
-      <td><span style="font-weight: bold;">1) OMNIORBDIR</span>
-variable should be set.<br>
-      <span style="font-weight: bold;">2)</span> existence of
-libomniORB4.so.0.5 <br>
-      <span style="font-weight: bold;">3)</span> existence of
-_omnipymodule.so.2.4 <br>
-      <span style="font-weight: bold;">4)</span> existence of
-libCOSNotify4.so.0.1 <br>
-      <span style="font-weight: bold;">5)</span> existence of notifd<br>
-      </td>
-      <td>set <span style="font-weight: bold;">OMNIORBDIR</span> if
-you have preinstalled version of omni</td>
-      <td>We try to find several omni libraries and binaries in the ${<span
- style="font-weight: bold;">OMNIORBDIR</span>}/lib and ${<span
- style="font-weight: bold;">OMNIORBDIR</span>}/bin directories.<br>
-      <br>
-      </td>
-    </tr>
-    <tr>
-      <td>Numeric 23.7</td>
-      <td><span style="font-weight: bold;">ver</span>=`python -c
-'import Numeric; print Numeric.__version__'
-2&gt;/dev/null`</td>
-      <td>add the directory where&nbsp;<span style="font-weight: bold;"></span>you
-have preinstalled version of Numeric
-package to your <span style="font-weight: bold;">PYTHONHOME </span>variable<span
- style="font-weight: bold;"><br>
-      </span></td>
-      <td>If you have problem with preinstalled version of Numeric 23.7
-reinstall it.</td>
-    </tr>
-    <tr>
-      <td>Sip 4.1<br>
-      </td>
-      <td><span style="font-weight: bold;">1) SIPDIR</span> variable
-should be set.<br>
-      <span style="font-weight: bold;">2) ver</span>=`${SIPDIR}/sip -V
-| awk '{print $1}'`</td>
-      <td>set <span style="font-weight: bold;">SIPDIR</span> to
-directory where you have sip preinstalled</td>
-      <td><span style="font-weight: bold;">ver</span> should be equal
-to 4.1. <br>
-      <br>
-      </td>
-    </tr>
-    <tr>
-      <td>PyQt 3.13</td>
-      <td><span style="font-weight: bold;">1) PYQTDIR</span> variable
-should be set.<br>
-      <span style="font-weight: bold;">2)</span> existence of qt.so
-library<br>
-      </td>
-      <td>set <span style="font-weight: bold;">PYQTDIR</span> to
-directory where you have PyQt preinstalled</td>
-      <td>Unfortunately we can't check exact PyQt version number. <br>
-We just try to find qt.so in ${<span style="font-weight: bold;">PYQTDIR</span>}.
-      <br>
-      </td>
-    </tr>
-    <tr>
-      <td>HappyDoc 2.1</td>
-      <td><span style="font-weight: bold;">1)</span> existence of
-happydoc <br>
-      <span style="font-weight: bold;">2)</span> <span
- style="font-weight: bold;">ver</span>=`happydoc | grep "HappyDoc
-version 2.1"`</td>
-      <td>add the directory where you have HappyDoc
-installed to your <span style="font-weight: bold;">PATH</span>
-variable.<br>
-      </td>
-      <td>We try to find happydoc in ${<span style="font-weight: bold;">PATH</span>}.
-      <br>
-      <span style="font-weight: bold;">ver</span> should not be empty. <br>
-      <br>
-      <span style="font-weight: bold;">Note:</span> this product is not
-obligatory for SALOME compilation.<br>
-      </td>
-    </tr>
-    <tr>
-      <td>Doxygen 1.3.7</td>
-      <td><span style="font-weight: bold;">1)</span> existence of
-doxygen <br>
-      <span style="font-weight: bold;">2)</span> existence of doxytag <br>
-      <span style="font-weight: bold;">3)</span> existence of doxywizard<br>
-      <span style="font-weight: bold;">4)</span> <span
- style="font-weight: bold;">ver</span>=`doxygen --version`</td>
-      <td>add the directory where you have doxygen binaries
-preinstalled to the&nbsp; <span style="font-weight: bold;">PATH</span>
-variable.</td>
-      <td>doxygen, doxytag, doxywizard binaries should
-exist; <span style="font-weight: bold;">ver</span> should be equal to
-1.3.7.<br>
-      <br>
-If you have problem with preinstalled version of doxygen
-reinstall it. <br>
-      <br>
-It is recommended to use native doxygen on Mandrake 10.1.<br>
-      </td>
-    </tr>
-    <tr>
-      <td>Graphviz 2.2.1<br>
-      </td>
-      <td><span style="font-weight: bold;">1)</span> existence of dot
-binary.<br>
-      <span style="font-weight: bold;">2)</span> <span
- style="font-weight: bold;">ver</span>=`dot -V 2&gt;&amp;1 | awk
-'{print $3}'`</td>
-      <td>add graphviz bin directory to the <span
- style="font-weight: bold;">PATH</span> environment variable</td>
-      <td>We try to find dot program in the ${<span
- style="font-weight: bold;">PATH</span>}.<br>
-      <span style="font-weight: bold;">ver</span> should be equal to
-2.2.1.<br>
-      </td>
-    </tr>
-    <tr>
-      <td><span style="font-weight: bold;">MODULE</span> binaries<br>
-(where <span style="font-weight: bold;">MODULE</span> = KERNEL, GUI,
-GEOM, ...)<br>
-      </td>
-      <td><span style="font-weight: bold;">1) MODULE_ROOT_DIR</span>
-variable should be set<br>
-      <span style="font-weight: bold;">2)</span> existence of VERSION
-file <br>
-      <span style="font-weight: bold;">3) ver</span>=`cat ${<span
- style="font-weight: bold;">MODULE_ROOT_DIR</span>}/bin/salome/VERSION
-| awk -F: '{print $NF}' |
-tr -d '[:space:]'`</td>
-      <td>set <span style="font-weight: bold;">MODULE_ROOT_DIR</span>
-if you have preinstalled binaries of <span style="font-weight: bold;">MODULE</span>
-version 3.0.0.</td>
-      <td><span style="font-weight: bold;">MODULE</span> binaries
-should exist and <span style="font-weight: bold;">ver</span> should be
-equal to 3.0.0.<br>
-      </td>
-    </tr>
-    <tr>
-      <td><span style="font-weight: bold;">MODULE</span> sources<br>
-(where <span style="font-weight: bold;">MODULE</span> = KERNEL, GUI,
-GEOM, ...)<br>
-      </td>
-      <td><span style="font-weight: bold;">1)</span> existence of <span
- style="font-weight: bold;">MODULE_SRC_DIR</span> <br>
-      <span style="font-weight: bold;">2)</span> existence of VERSION
-file <br>
-      <span style="font-weight: bold;">3) ver</span>=`cat ${<span
- style="font-weight: bold;">MODULE_SRC_DIR</span>}/bin/VERSION | awk
--F: '{print $NF}' | tr -d
-'[:space:]'`</td>
-      <td>set <span style="font-weight: bold;">MODULE_SRC_DIR</span>
-if you have preinstalled sources of <span style="font-weight: bold;">MODULE</span>
-version 3.0.0.<br>
-      </td>
-      <td><span style="font-weight: bold;">MODULE</span> sources should
-exist and ver should be equal to 3.0.0.</td>
-    </tr>
-  </tbody>
-</table>
-<p><b>Note:</b> For native products installation procedure sets proper
-environment variables itself, and you do not need to set such variables
-like, e.g. <b>TCLHOME</b> or <b>PYTHONHOME</b>. <br>
-If you have native products installed to different from default
-directories (not <b>/usr/bin</b>, <b>/usr/lib</b>...), it is
-recommended to follow above description. Or you should set properly <span
- style="font-weight: bold;">PATH</span> and <span
- style="font-weight: bold;">LD_LIBRARY_PATH</span> variables <b><font
- color="#ff0000">before</font></b>
-starting Installation Wizard. Otherwise
-installation script will fail to find preinstalled products. </p>
-<p><b>Note:</b> For some native products (e.g. gcc, Python) the rules
-of version
-checking are not so strict as described in the table. Only major and
-minor numbers of version
-should coincide with prerequisite. Release number can be larger. It is
-done for making a possibility
-to use native products for newer versions of Linux.
-If some native product has version number larger than that required by
-the
-installation procedure, user will be prompted by the warning message
-like this: <i>"You have
-newer version of gcc installed
-on your computer than that is required (3.4.1). Continue?"</i>. You can
-press <i>"Yes"</i> button
-to procede with the installation but in this case you should be aware
-of what you are doing.
-SALOME binaries (inluding other products) are compiled with the
-predefined prerequisites
-and most likely can not be run successfully if these products are not
-found.
-This can be only helpful if you intend to build all products from
-sources.</p>
-<h3>
-<hr></h3>
 <h3> <a name="pick_up_env"></a>Pick up the <font color="#ff0000">environment</font></h3>
 Please, read carefully the following information. This section
 <h3> <a name="pick_up_env"></a>Pick up the <font color="#ff0000">environment</font></h3>
 Please, read carefully the following information. This section
-describes how the installation procedure collects the environment.
-<p>After installing each product shell script creates special
-environment file for each product in its target folder . The name of
-the file is generated
-from
-the name of product by the following scheme: <b>env_&lt;product_name&gt;.sh.</b>
-This file includes all necessary product settings. For example for Vtk
-the file is <b>env_Vtk.sh</b>. Environment files allows to pick up all
-environment settings which are necessary to build and launch SALOME.
-When installing SALOME
-sources and/or binaries, installation procedure picks up all the
-settings files and generate two scripts: <b>salome.sh</b> and <b>salome.csh
-</b>for sh and csh correspondingly. Such approach helps to save time
-when reinstalling products and you may not to care about setting all
-environment variables
-manually to build/launch SALOME. What you need is just to use one of
-these
-scripts. </p>
-<p>This concerns also those products which are not currently installed.
+describes how the installation procedure generates the environment
+scripts for the SALOME platform being installed.
+<p>After the installation of each product the shell script
+creates a special
+environment file for the product in its installation folder. The name
+of the file is generated from the name of the product by the following
+scheme: <b>env_&lt;product_name&gt;.sh</b>
+(for example <b>env_Vtk.sh </b>for the Vtk).
+This file includes all necessary environment settings. At the final
+step of the installation the script picks up all settings files and
+generates from them two common environment files: <b>salome.sh</b>
+and <b>salome.csh
+</b>for <span style="font-weight: bold;">bash</span>
+and <span style="font-weight: bold;">csh</span>
+shells correspondingly. This
+approach helps to save time when reinstalling products and you may can
+avoid setting all environment variables
+manually to build/launch SALOME. What you need is to source one of
+these environment files. </p>
+<p>This also concerns the products which are not being installed.
 For example, you install some SALOME binaries to the directory where
 For example, you install some SALOME binaries to the directory where
-you have previously installed other products.&nbsp; Installation
-procedure still tries to collect environment files from the target
-directory if it finds necessary products there. If some product is not
-found in the target directory the corresponding
-section of <b>salome.sh/salome.csh</b> files will be skipped. <br>
-For native products (like <i><b>gcc, tcl, etc...</b><b>)</b></i>
-installation procedure tries to find them first using <b>PATH</b>
-/ <b>LD_LIBRARY_PATH</b> variables and then in the system default
-directories (<b>/usr/bin, /usr/lib</b> etc., depending on the product).
+you have previously installed other products.&nbsp; The
+installation
+procedure tries to collect the environment files from the target
+directory if it finds necessary products installed there. If a
+product is not found in the target directory the corresponding
+section of <b>salome.sh/salome.csh</b> files will be
+commented. <br>
+For the native products (like <i><b>gcc, tcl, etc...</b><b>)</b></i>
+the installation procedure tries to find them first using <b>PATH</b>
+/ <b>LD_LIBRARY_PATH</b> variables and then in the system
+default
+directories (<b>/usr/bin, /usr/lib</b> etc., depending on
+the product).
 </p>
 </p>
-<p>In any case you may edit <b>salome.*</b> files after installation
-procedure finishes, as you want.<br>
-<span style="font-weight: bold;">Note:</span> as it was mentioned <a
- href="#env_files">above</a> there are two more environment files which
-are generated by the installation procedure: <span
- style="font-weight: bold;">env_products.csh</span> and <span
- style="font-weight: bold;">env_products.sh</span>. These files can be
+<p>In any case you are able to edit <b>salome.*</b>
+files after the installation procedure finished.<br>
+<span style="font-weight: bold;"><br>
+Note:</span> as it has been mentioned <a href="#env_files">above</a>
+there
+are other environment files generated by the installation procedure: <span style="font-weight: bold;">env_products.csh</span> + <span style="font-weight: bold;">env_products.sh</span> and <span style="font-weight: bold;">env_build.csh</span> + <span style="font-weight: bold;">env_build.sh</span>. These
+files can be
 found in the target installation root directory.<br>
 </p>
 <hr>
 <h3><a name="xml_files"></a>Modifying <font color="#ff0000">XML</font>
 configuration <font color="#ff0000">file</font></h3>
 found in the target installation root directory.<br>
 </p>
 <hr>
 <h3><a name="xml_files"></a>Modifying <font color="#ff0000">XML</font>
 configuration <font color="#ff0000">file</font></h3>
-<font color="#000000">You can create your own configuration file.
-Installation Wizard then can take it as command line argument to
-provide list of products you want to install with it. The list of
-products and some another settings for the Installation Wizard are
-provided in XML file. The default file which Installation Wizard looks
-for if no command line arguments are given, is <b>config.xml</b>. This
-section describes the structure of the configuration file.</font> <br>
-<font color="#000000">XNL tags are in bold blue, optional sections/tags
+<font color="#000000">You can create your own XML
+configuration file.
+The Installation Wizard can take it as a command line argument to
+provide a list of products you want to install with it. The list of
+products and some other settings for the Installation Wizard are
+provided in the XML file.<br>
+This section describes the structure of the configuration file.</font>
+<font color="#000000">XML tags are in bold blue, optional
+sections/tags
 are in brackets.</font>
 are in brackets.</font>
-<font face="Courier"><p><b><font color="#000099">&lt;document&gt;</font></b>
+<font face="Courier">
+<p><b><font color="#000099">&lt;document&gt;</font></b>
 <br>
 <br>
-<font color="#000000"><b>&nbsp;&nbsp;&nbsp; </b>[</font><b><font
- color="#000099"> &lt;config</font></b><font color="#000000">
-[ version=&lt;install_wizard_version&gt; ]</font> <br>
-<font color="#000000">&nbsp;&nbsp;&nbsp; &nbsp;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [
-caption=&lt;install_wizard_caption&gt; ]</font> <br>
-<font color="#000000">&nbsp;&nbsp;&nbsp; &nbsp;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [
-copyright=&lt;install_wizard_copyright&gt;&nbsp; ]</font> <br>
-<font color="#000000">&nbsp;&nbsp;&nbsp; &nbsp;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [
-license=&lt;install_wizard_license_info&gt; ]</font> <br>
-<font color="#000000">&nbsp;&nbsp;&nbsp; &nbsp;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ os=&lt;target_platform&gt;
-]</font><b><font color="#000099"><br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /&gt;</font></b><font color="#000000"> <br>
-&nbsp;&nbsp;&nbsp; ]</font> <br>
-<font color="#000000"><b>&nbsp;&nbsp;&nbsp; </b>[ </font><b><font
- color="#000099">&lt;path</font></b><font color="#000000">&nbsp;&nbsp;
-[ targetdir=&lt;target_directory&gt; ]</font> <br>
-<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
+<font color="#000000"><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+</b></font><b><font color="#000099">
+&lt;config</font></b><font color="#000000">
+[ version=&lt;application_version&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]</font> <br>
+<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&nbsp;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [
+caption=&lt;application_caption&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]</font> <br>
+<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&nbsp;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [
+copyright=&lt;application_copyright&gt;&nbsp; ]</font>
+<br>
+<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&nbsp;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [
+license=&lt;application_license_info&gt; ]</font> <br>
+<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&nbsp;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+platforms=&lt;target_platform&gt;</font> <br>
+<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&nbsp;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [
+targetdir=&lt;target_directory&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;] </font>
+<br>
+<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&nbsp;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+[
+tempdir=&lt;temp_directory&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&nbsp;&nbsp;&nbsp;&nbsp; ]</font>
+<br><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[
+optionallibs=&lt;optional_libraries&gt;&nbsp;&nbsp;]</font>
+<b><font color="#000099"><br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /&gt; </font></b>
+<br>
+<font color="#000000"><b>&nbsp;&nbsp;&nbsp;
+</b>[ </font><b><font color="#000099">&lt;buttons&gt;</font></b>
+<br>
+<font color="#000000"><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+</b>[ </font><b><font color="#000099">&lt;button</font></b>
+<font color="#000000">&nbsp;
+label=&lt;button_label&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font>
+<br>
+<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+[ tooltip=&lt;button_tooltip&gt; ]</font> <br>
+<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-[ tempdir=&lt;temp_directory&gt;&nbsp;&nbsp;&nbsp;&nbsp; ]</font><b><font
- color="#000099"><br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /&gt; </font></b><font color="#000000"><br>
+&nbsp;
+script=&lt;button_script&gt;&nbsp;&nbsp;&nbsp;</font>
+<br>
+<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+[ disable=&lt;disable_flag&gt;&nbsp;&nbsp;&nbsp;]</font><font color="#000099"><br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>/&gt;</b>
+</font><font color="#000000"><br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]</font> <br>
+<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+[</font><b><font color="#000099">
+&lt;button</font></b><font color="#000000">
+... </font><font color="#000099"><br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>/&gt;</b></font>
+<br>
+<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+]</font><br>
+<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+...</font>
+<font color="#000099"><br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>&lt;/buttons&gt;</b>
+</font><font color="#000000"><br>
 &nbsp;&nbsp;&nbsp; ]</font> <br>
 &nbsp;&nbsp;&nbsp; ]</font> <br>
-<font color="#000000">&nbsp;&nbsp;&nbsp; [</font><b><font
- color="#000099"> &lt;product</font></b><font color="#000000">&nbsp;
+<font color="#000000">&nbsp;&nbsp;&nbsp; [</font><b><font color="#000099"> &lt;products&gt;</font></b>
+<br>
+<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+[</font><b><font color="#000099">
+&lt;product</font></b><font color="#000000">&nbsp;
 name=&lt;product_name&gt;</font> <br>
 name=&lt;product_name&gt;</font> <br>
-<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-version=&lt;product_version&gt;</font> <br>
-&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; [
-context=&lt;product_context&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-]<br>
-&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; [
+<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;
+&nbsp;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+type=&lt;product_type&gt;</font> <br>
+&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;
+&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; [
 description=&lt;product_description&gt; ]<br>
 description=&lt;product_description&gt; ]<br>
-<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-install=&lt;installation_mode&gt;</font> <br>
-<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-supported=&lt;supported_installation_modes&gt;</font> <br>
-<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; disable=&lt;disable_flag&gt;<br>
-&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;&nbsp; [
-pickupenv=&lt;pickup_env_flag&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]</font><font
- color="#000000"><br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-dependancies=&lt;list_of_prerequisites&gt;</font>&nbsp;<font
- color="#000000"><br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
-&nbsp;&nbsp;&nbsp;&nbsp; installdiskspace=&lt;install_disk_space&gt;</font>
+<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+</font><b><font color="#000099">
+&lt;installation</font></b><font color="#000000">&nbsp;
+os=&lt;installation_platform&gt;</font> <br>
+<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;
+&nbsp;&nbsp;&nbsp;&nbsp;
+&nbsp;&nbsp;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+version=&lt;product_version&gt;</font> <br>
+<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&nbsp;&nbsp;&nbsp;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [
+disable=&lt;disable_flag&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]
+<font color="#000000"><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&nbsp;&nbsp;&nbsp;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [
+woguimode=&lt;without_gui_mode_flag&gt; ]
 <font color="#000000"><br>
 <font color="#000000"><br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
-&nbsp;&nbsp;&nbsp; temporarydiskspace=&lt;tmp_disk_space&gt;</font> <font
- color="#000000"><br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
-&nbsp;&nbsp; script=&lt;installation_script_name&gt;</font><font
- color="#000099"><br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /<b>&gt;</b></font><font color="#000000">
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+installdiskspace=&lt;install_disk_space&gt;</font><br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;
+&nbsp;&nbsp;&nbsp;&nbsp; [
+pickupenv=&lt;pickup_env_flag&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]</font>&nbsp;
+<font color="#000000"><br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&nbsp;
+&nbsp;&nbsp;&nbsp;&nbsp;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+script=&lt;installation_script_name&gt;</font><br>
+<font color="#000099">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+<b>/&gt;</b></font><br>
+<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+...</font>
+<font color="#000099"><br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>/&gt;</b></font><font color="#000000">
 <br>
 <br>
-&nbsp;&nbsp;&nbsp; ]</font> <font color="#000000"><br>
-&nbsp;&nbsp;&nbsp; [</font><b><font color="#000099"> &lt;product</font></b><font
- color="#000000"> ... </font><font color="#000099"><br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /<b>&gt;</b></font><font color="#000000">
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]</font> <font color="#000000"><br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [</font><b><font color="#000099"> &lt;product</font></b><font color="#000000"> ... </font><font color="#000099"><br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>/&gt;</b></font><font color="#000000"> <br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]</font><br>
+<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+...</font><br>
+<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><b><font color="#000099"> &lt;/products&gt;</font></b>
 <br>
 <br>
-&nbsp;&nbsp;&nbsp; ]</font> <font color="#000000"><br>
-&nbsp;&nbsp;&nbsp;<b> .</b></font><b><font color="#000099">..</font></b>
-<b><font color="#000099"><br>
-&lt;/document&gt;</font></b> </p></font>
-<h4><font color="#000000">&lt;config&gt; section</font></h4>
-<font color="#000000">This is optional section - contains general
-information Installation Wizard itself.</font>
+<font color="#000000">&nbsp;&nbsp;&nbsp; ]</font><br>
+<font color="#000000">&nbsp;&nbsp;&nbsp; [</font><b><font color="#000099"> &lt;dependencies&gt;</font></b>
+<br>
+<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+[</font><b><font color="#000099">
+&lt;product</font></b><font color="#000000">&nbsp;
+name=&lt;product_name&gt;</font><b><font color="#000099"> &gt;</font></b> <br>
+<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+[</font><b><font color="#000099">
+&lt;dep&gt;</font></b> <font color="#000000">&lt;prerequisite_name&gt;</font>
+<b><font color="#000099"> &lt;/dep&gt;</font></b>
+<font color="#000000">]</font><br>
+<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+...</font><br>
+<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><b><font color="#000099"> &lt;/product&gt;</font></b>
+<br>
+<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+]</font><br>
+<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+...</font><br>
+<font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><b><font color="#000099"> &lt;/dependencies&gt;</font></b>
+<br>
+<font color="#000000">&nbsp;&nbsp;&nbsp; ]</font><br>
+<b><font color="#000099">
+&lt;/document&gt;</font></b> </font></p>
+
+<h4><font color="#000000">&lt;config&gt;
+section</font></h4>
+<font color="#000000">This section provides general
+information about an application that will be installed.<br>
+<br>
+Attributes:<br>
+</font>
+<ul>
+  <li> <font color="#000000"><b>version</b></font></li>
+</ul>
+<font color="#000000">The application version number to be
+shown in the
+caption.</font>
+<ul>
+  <li> <font color="#000000"><b>caption</b></font></li>
+</ul>
+<font color="#000000">The application main window caption
+- if this
+string contains '%1' text the title will contain
+the version number in this place (see above).</font>
 <ul>
 <ul>
-  <li> <font color="#000000"><b>version</b>: Installation Wizard's
-version number;</font></li>
-  <li> <font color="#000000"><b>caption</b>: Installation Wizard's
-main
-window title - if this string contains '%1' text - the title will
-contain
-in this place version number (see above);</font></li>
-  <li> <font color="#000000"><b>copyright</b>: Installation Wizard's
-copyright information (appears on the first page of program);</font></li>
-  <li> <font color="#000000"><b>license</b>: Installation Wizard's
-license information (appears on the first page of program);</font></li>
-  <li> <font color="#000000"><b>os</b>: Contains directory name
-(relative from ./Products/BINARIES) where Installation Wizard should
-search precompiled binaries packages. If this tag is skipped, binaries
-are implied to be in
-the ./Products/BINARIES directory.</font></li>
+  <li> <font color="#000000"><b>copyright</b></font></li>
 </ul>
 </ul>
-<h4> <b><font color="#000000">&lt;path&gt; section</font></b></h4>
-This is optional section - contains default directories.
+<font color="#000000">The application
+copyright information (shown in the first page).</font>
 <ul>
 <ul>
-  <li> <font color="#000000"><b>targetdir</b>: Starting target
-directory - path to the directory where products should be installed;</font></li>
-  <li> <font color="#000000"><b>tempdir</b>: Starting temp directory -
-path to the directory for the temporary files.</font></li>
+  <li> <font color="#000000"><b>license</b></font></li>
 </ul>
 </ul>
+<font color="#000000">The application license information
+(shown in the
+first page).</font>
+<ul>
+  <li> <font color="#000000"><b>platforms</b></font></li>
+</ul>
+<font color="#000000">This parameter defines platforms for
+whose the configurations from this file will be used. Also it provides
+the directory name (relative from ./Products/BINARIES) where the
+Installation Wizard will search for precompiled binaries packages.</font>
+<ul>
+  <li> <font color="#000000"><b>targetdir</b></font></li>
+</ul>
+<font color="#000000">The target
+directory is the path to the directory where the products should be
+installed.</font>
+<ul>
+  <li> <font color="#000000"><b>tempdir</b></font></li>
+</ul>
+<font color="#000000">The temporary directory is
+the path to the directory for the temporary files.</font>
+<ul>
+  <li> <font color="#000000"><b>optionallibs</b></font></li>
+</ul>
+<font color="#000000">A list of names of libraries. 
+An absence of these libraries in the user's system 
+doesn't affect on the correct work of SALOME platform.</font>
+<h4> <b>&lt;buttons&gt; section</b></h4>
+This is an optional section and may contains one or more
+&lt;product&gt; sections.
+<h4> <b>&lt;button&gt; section</b></h4>
+This optional section allows customization of the last <i>"Finish
+installation"</i> page of the Installation Wizard by adding one
+or
+more buttons in the lower part of the Installation Wizard window. The
+script
+which is attached to each such button, can perform some specific
+actions, for example, launch the application or show the 'Release
+Notes'
+file by using an external program.
+See <a href="#finish_buttons">here</a> for more
+details about
+writing scripts.<br>
+<font color="#000000"><br>
+Attributes:</font><br>
+<ul>
+  <li> <font color="#000000"><b>label</b></font></li>
+</ul>
+<font color="#000000">This is the button text.</font>
+<ul>
+  <li> <font color="#000000"><b>tooltip</b></font></li>
+</ul>
+<font color="#000000">The button tooltip (optional).</font>
+<ul>
+  <li> <font color="#000000"><b>script</b></font></li>
+</ul>
+<font color="#000000">The script attached to the button.</font>
+<ul>
+  <li> <font color="#000000"><b>disable</b></font></li>
+</ul>
+<font color="#000000">If this optional flag has 'true'
+value, the corresponding button will not appear in the <i>"Finish
+installation"</i> page - the section of XML file is ignored.</font><br>
+<h4> <b>&lt;products&gt; section</b></h4>
+This one contains a list of &lt;product&gt; sections. The
+products appear in the tree view and are installed in the order they
+are described in this section.
 <h4> <b>&lt;product&gt; section</b></h4>
 <h4> <b>&lt;product&gt; section</b></h4>
-This section describes product to be installed with the Installation
-Wizard. Products appear in the products tree
-and are installed in the order they are described in the configuration
-file. It is recommended to insert native products at the top of the
-list before all other products.
+Current section is optional. It describes the product to be installed
+with the Installation
+Wizard. The &lt;products&gt; container should include
+&lt;product&gt; section for each
+product to be installed.<br>
+<font color="#000000"><br>
+Attributes:</font><br>
 <ul>
 <ul>
-  <li> <font color="#000000"><b>name</b>: Name of the product;</font></li>
-  <li> <font color="#000000"><b>version</b>: Version of the product;</font></li>
-  <li> <font color="#000000"><b>description</b>: Description of the
-product (optional);</font></li>
-  <li> <font color="#000000"><b>context</b>: Context of the product
-(optional); the possible values are <b>'salome sources'</b>, <b>'salome
-binaries'</b> and <b>'prerequisite'</b>;</font></li>
-  <li> <font color="#000000"><b>supported</b>: Supported modes of
-installation, should contain one or more of the following options,
-separated by comma: <i>install sources</i>, <i>install binaries</i>, <i>use
-native</i>. Installation script should contain corresponding functions
-for each of supported installation modes;</font></li>
-  <li> <font color="#000000"><b>install</b>: Default (starting)
-installation mode;</font></li>
-  <li> <font color="#000000"><b>disable</b>: If this flag has 'true'
-value, corresponding product will not appear in the list of products
-tree and will not be installed;</font></li>
-  <li><b>pickupenv</b>: This flag points that pickup environment
-procedure
-should be performed for this module. If this flag equal to <b>true</b>,
-&nbsp;salome.sh
-and salome.csh files will&nbsp; be created in the product's
-installation
-directory. Usually this option is set to true for SALOME KERNEL module
-sources and binaries pakcge. This is optional key, default value is <b>false.</b><br>
-  </li>
-  <li> <font color="#000000"><b>dependancies</b>: list of prerequisite
-products, which are necessary to build this product, separated by comma;</font></li>
-  <li> <font color="#000000"><b>installdiskspace</b>: Total amount
-space (integer, in Kbytes), which product occupies on the hard drive
-after the
-installation;</font></li>
-  <li> <font color="#000000"><b>temporarydiskspace</b>: Disk space
-(integer, in Kbytes) for the temporary files, which is necessary to
-build the product from the sources;</font></li>
-  <li> <font color="#000000"><b>script</b>: Installation script name.
-This script is in charge of installation of the product. It is called
-when necessary from the main program. See <a href="#new_products">next
-section</a> for
-more information.</font></li>
+  <li> <font color="#000000"><b>name</b></font></li>
+</ul>
+<font color="#000000">The name of the product.</font>
+<ul>
+  <li> <font color="#000000"><b>type</b></font></li>
+</ul>
+<font color="#000000">The type of the product: '<i>component</i>'
+- SALOME module or '<i>prerequisite</i>' - prerequisite
+product.</font>
+<ul>
+  <li> <font color="#000000"><b>description</b></font></li>
+</ul>
+The <font color="#000000">product </font><font color="#000000">description
+(optional).</font>
+<h4> <b>&lt;installation&gt; section</b></h4>
+It is a part of the &lt;product&gt; section, that provides
+installation information by platforms. The &lt;product&gt;
+section may contains a several &lt;installation&gt; ones for
+the different platforms.
+<br>
+<font color="#000000"><br>
+Attributes:</font><br>
+<ul>
+  <li> <font color="#000000"><b>os</b></font></li>
+</ul>
+<font color="#000000">A possible installation platform.</font>
+<ul>
+  <li> <font color="#000000"><b>version</b></font></li>
+</ul>
+<font color="#000000">The version of the product.</font>
+<ul>
+  <li> <font color="#000000"><b>disable</b></font></li>
+</ul>
+<font color="#000000">If this optional flag has 'true'
+value, the corresponding product will not appear in the list of
+products and will not be installed.</font>
+<ul>
+  <li> <font color="#000000"><b>woguimode</b></font></li>
+</ul>
+<font color="#000000">This optional flag defines that 
+it's possible to install this module without GUI.</font>
+<ul>
+  <li> <font color="#000000"><b>installdiskspace</b></font></li>
+</ul>
+<font color="#000000">List of three total amount spaces
+(integer, in Kbytes, derived by comma), which product occupies on the
+hard drive after the installation in case 'binary', 'sources' and
+'sources and compile' installation type.</font>
+<ul>
+  <li><b>pickupenv</b></li>
+</ul>
+This flag shows that the pickup environment
+procedure should be performed for this product. If this flag equal to
+'true',
+&nbsp;salome.sh and salome.csh files will&nbsp; be created in
+the product's
+installation directory. Usually this option is set to true for SALOME
+KERNEL module. This is optional key, default value is 'false'<b>.</b><br>
+<ul>
+  <li> <font color="#000000"><b>script</b></font></li>
 </ul>
 </ul>
-<b>Note:</b> If you add new products to be installed with Installation
-Wizard, you should also provide installation script for this product.
-See
-next section for more details.
+<font color="#000000">The installation script name.
+This script is in charge of the installation of the product. It is
+called
+automatically by the Installation Wizard when necessary from the main
+program. See the <a href="#new_products">next
+section</a> for
+more information.</font><br>
+<br>
+<b>Note:</b> If you add new products to be
+installed with Installation Wizard, you should also provide
+installation script for this product. See the next section for more
+details.
+<p><br>
+</p>
 <hr>
 <h3><a name="new_products"></a>Implementing <font color="#ff0000">installation
 scripts</font> for the new products</h3>
 When you want some product to be installed with the Installation
 <hr>
 <h3><a name="new_products"></a>Implementing <font color="#ff0000">installation
 scripts</font> for the new products</h3>
 When you want some product to be installed with the Installation
-Wizard, you should add it's description it <a href="#xml_files">in the
-configuration file</a> and create bash installation script, following
-described in this section rules. <br>
-There are some obligatory functions to be provided in this installation
+Wizard, you should add it's description it <a href="#xml_files">in
+the
+configuration file</a> and create the installation script,
+following
+rules described in this section. <br>
+<br>
+There are some obligatory functions which should be implemented in this
+installation
 script. These functions are automatically called by master installation
 script
 or/and its GUI shell when it is necessary.<br>
 script. These functions are automatically called by master installation
 script
 or/and its GUI shell when it is necessary.<br>
-<font color="#000000">File <b>common.sh</b> contains some service
+<font color="#000000">File <b>common.sh</b>
+contains some service
 functions
 which can be used in your installation script, like <b>make_env()</b>,<b>
 make_dir()</b>, <b>try_existing()</b>, <b>sort_path()</b>,<b>
 find_in_path()</b>,
 etc.</font>
 <ul>
 functions
 which can be used in your installation script, like <b>make_env()</b>,<b>
 make_dir()</b>, <b>try_existing()</b>, <b>sort_path()</b>,<b>
 find_in_path()</b>,
 etc.</font>
 <ul>
-  <li> <b>check_version()</b>:&nbsp; This function allows to check the
+  <li> <b>check_version()</b></li>
+</ul>
+This function allows to check the
 version of the product already installed on the computer. It should try
 to find product (native or preinstalled in the target directory) and
 check
 version of the product already installed on the computer. It should try
 to find product (native or preinstalled in the target directory) and
 check
-it version. This helps to avoid unnecessary reinstallation. This is
+its version. This helps to avoid unnecessary reinstallation. This is
 internal
 internal
-function and is not called</li>
-  <li> <b><font color="#000000">try_native()</font></b><font
- color="#000099">: </font><font color="#000000">This function is
-called when <i>'use native' </i>installation mode is selected by the
-user. The function should try to find native version of the product and
-define possibility of it usage. Should create environment for the
-product in the temporary directory (see also description of <b>print_env(</b>)
-function). If you do not provide native mode installation, you can omit
-this function.</font></li>
-  <li> <font color="#000000"><b>install_source()</b>: This function is
-called when <i>'install sources</i>' installation mode is selected by
-the
-user. The function is responsible for the building of the product from
-the
-sources package. Should create environment for the product in the
-temporary
-directory (see also description of <b>print_env(</b>) function). If
-you do
-not provide sources mode installation, you can omit this function</font></li>
-  <li> <font color="#000000"><b>install_binary()</b>: This function is
-called when <i>'install binaries'</i> installation mode is selected by
-the
-user. The function is responsible for the extracting of the product
-from
-the binaries package. Should create environment for the product in the
-temporary
-directory (see also description of <b>print_env(</b>) function). If
-you do
-not provide binaries mode installation, you can omit this function.</font></li>
-  <li> <b>try_preinstalled()</b>: <font color="#000000">This function
-is called when<i> 'not install'</i> installation mode is selected by
-the user. In this case script should inspect target directory to try to
-find already preinstalled product, pick up and check environment from
-there. See <a href="#pick_up_env">here</a> for more details.</font></li>
-  <li> <font color="#000000"><b>print_env()</b>: This function is in
-charge of creation environment script. It should create file with name </font><b>env_&lt;product_name&gt;.sh</b>
-in the temporary directory and then copy it into the product
-installation directory. The file should contain all necessary
-environment variables settings for the product. It will be collected
-during the 'pick-up-environment' procedure.</li>
-  <li><b>pickup_env()</b>: This procedure corresponds <b>pickupenv</b>
-tag
-of the configuration xml file (see previous section). Should call <b>make_env</b>
-procedure to perform pick-up environment procedure for the product.<br>
-  </li>
+function and is not called from the master installation script.<br>
+<ul>
+  <li><font color="#000000"><b>install_binary()</b></font></li>
 </ul>
 </ul>
-<font color="#000000">The calling signature of the product installation
-script is following:</font> <br>
-<b><font color="#000000">&lt;product_script_name&gt;
-&lt;function_name&gt; &lt;temp_folder&gt; &lt;products_directory&gt;
+<font color="#000000">This function is
+called when <i>'Install binaries'</i> installation mode is
+selected by
+the user. The function is responsible for the extracting of the product
+from the binaries package. It should create environment for the product
+in
+the temporary directory (see also the description of <b>print_env()</b>
+function). It is not necessary to implement this function if you do not
+provide binaries mode
+installation for the current product. <br>
+</font>
+<ul>
+  <li> <font color="#000000"><b>install_source()</b></font></li>
+</ul>
+<font color="#000000">This function is
+called to install SALOME modules sources, if <i>'Install binaries</i>'
+installation mode is selected by the user, and to install prerequisite
+products sources, in <i>'Install sources</i>' case (see <a href="#Installation_type_page">Fig.2</a> above). The
+function is responsible for the building of the product from
+the sources package. It should create the environment file for the
+product
+in the temporary directory (see also the description of <b>print_env()</b>
+function). It is not necessary to implement this function if you do not
+provide a sources mode installation for the current product.</font>
+<br>
+<ul>
+  <li> <font color="#000000"><b>install_source_and_build()</b></font></li>
+</ul>
+<font color="#000000">This function is
+called when <i>'Install sources and make a compilation'</i>
+installation mode is selected. This function should be used to unpack
+SALOME or prerequisite sources package and then call build/install
+procedure for it.<br>
+For more details please refer to <a href="#gui_mode">this</a>
+section for more details.<br>
+</font>
+<ul>
+  <li> <b>try_preinstalled()</b></li>
+</ul>
+<font color="#000000">This function
+is used to parse the target directory to try to find an already
+installed product, to pick up and to check the environment from
+there. See <a href="#pick_up_env">here</a> for more
+details.</font>
+<ul>
+  <li> <font color="#000000"><b>print_env_bin()
+    </b> &amp; <b> print_env_src()</b></font></li>
+</ul>
+<font color="#000000">These functions are in charge of the
+creation of the environment scripts. They should create in the
+temporary directory two files with <b>env_&lt;product_name&gt;.sh</b>
+and <b>env_&lt;product_name&gt;_src.sh</b>
+names and then copy them into the binary and sources product
+installation directories correspondingly. The file should contain all
+necessary
+environment variable settings for the product. It will be collected
+during the 'pick-up-environment' procedure.</font>
+<ul>
+  <li><b>pickup_env()</b></li>
+</ul>
+This procedure corresponds to <b>pickupenv</b> tag
+of the configuration xml file (see the previous section). It should
+call <b>make_env</b>
+procedure to perform the pick-up environment procedure for the product.<br>
+<br>
+<font color="#000000">The calling signature of the product
+installation
+script is the following:</font> <br>
+<b><font color="#000000">
+&lt;product_script_name&gt;
+&lt;function_name&gt;
+&lt;temp_folder&gt;
+&lt;products_directory&gt;
 &lt;target_directory&gt;
 &lt;target_directory&gt;
-&lt;dependancies&gt; &lt;product_name&gt;</font></b>
+&lt;all_products&gt;
+&lt;product_name&gt;
+&lt;install_products&gt;
+&lt;sources_directory&gt;
+&lt;remove_sources_flag&gt;
+&lt;binaries_directory&gt;
+&lt;single_directory_flag&gt; </font></b>
 <p><font color="#000000">where</font> <br>
 <p><font color="#000000">where</font> <br>
-<font color="#000000"><b>&lt;product_script_name&gt;</b> - installation
-script name (described in configuration xml file);</font> <br>
-<font color="#000000"><b>&lt;function_name&gt;</b> - the name of
-function, corresponding to the selected installation mode: <i>try_native,
-install_source, install_binary</i> or <i>try_preinstalled</i>;</font> <br>
-<font color="#000000"><b>&lt;temp_folder&gt;</b> - temporary files
-directory;</font> <br>
-<font color="#000000"><b>&lt;products_directory&gt;</b> - directory
+</p>
+<p><font color="#000000"><b>&lt;product_script_name&gt;</b>
+-
+the name of the installation script (described in the configuration XML
+file);</font> <br>
+<font color="#000000"><b>&lt;function_name&gt;</b>
+- the name of
+the function, corresponding to the selected installation type and
+currently installed product; </font> <br>
+<font color="#000000"><b>
+&lt;temp_folder&gt; </b> - the directory for the
+temporary files; </font> <br>
+<font color="#000000"><b>&lt;products_directory&gt;</b>
+- the directory
 where the sources/binaries package can be found. You should provide
 sources package in the <i>&lt;Install_Wizard_root_directory&gt;/Products/SOURCES</i>
 directory and binaries package in the <i>&lt;InstallWizard_root_directory&gt;/Products/BINARIES/&lt;os_version&gt;</i>,
 where the sources/binaries package can be found. You should provide
 sources package in the <i>&lt;Install_Wizard_root_directory&gt;/Products/SOURCES</i>
 directory and binaries package in the <i>&lt;InstallWizard_root_directory&gt;/Products/BINARIES/&lt;os_version&gt;</i>,
-where &lt;os_version&gt; is target platform description, which appears
+where &lt;os_version&gt; is the target platform description,
+which appears
 in the corresponding section of the <a href="#xml_files">configuration
 xml
 file</a>.</font> <br>
 in the corresponding section of the <a href="#xml_files">configuration
 xml
 file</a>.</font> <br>
-<font color="#000000"><b>&lt;target_directory&gt;</b> - root target
-directory where product should be installed to;</font> <br>
-<font color="#000000"><b>&lt;dependancies&gt;</b> - single-quoted list
-of prerequisite products, separated by space;</font> <br>
-<font color="#000000"><b>&lt;product_name&gt; </b>- product name
-itself.</font> </p>
+<font color="#000000"><b>
+&lt;target_directory&gt; </b> - the root target
+directory where the product should be installed to;</font> <br>
+<font color="#000000"><b>
+&lt;all_products&gt; </b> - single-quoted list
+of all products, separated by space;</font> <br>
+<font color="#000000"><b>
+&lt;product_name&gt; </b>- product name
+itself;</font> <br>
+<font color="#000000"><b>
+&lt;install_products&gt; </b> - single-quoted list
+of all products to be installed, separated by space;</font> <br>
+<font color="#000000"><b>
+&lt;sources_directory&gt; </b> - the directory
+where the sources package can be found (it is usable if the
+&lt;products_directory&gt; parameter gives the binaries
+directory path); </font> <br>
+<font color="#000000"><b>
+&lt;remove_sources_flag&gt; </b> - bool parameter, that
+is equal to 'TRUE' if 'Remove sources and temporary files after
+compilation' option has been selected by the user (see <a href="#Installation_type_page">Fig.2</a> in the <a href="#gui_mode">GUI part</a>);</font> <br>
+<font color="#000000"><b>
+&lt;binaries_directory&gt; </b> - the directory
+where the binaries package can be found (it is usable if the
+&lt;products_directory&gt; parameter gives the sources
+directory path); </font> <br>
+<font color="#000000"><b>
+&lt;single_directory_flag&gt; </b> - bool parameter,
+that is equal to 'TRUE' if 'Install modules to a single directory'
+option is selected by the user (see <a href="#Products_page1">Fig.5</a>
+above). </font> <br>
+</p>
 <p><font color="#000000">Example:</font> <br>
 <p><font color="#000000">Example:</font> <br>
-<i><font color="#000000">med-2.2.2.sh install_binary /tmp/work
-./Products/BINARIES/Mandrake10.1 /usr/salome 'gcc Hdf' med</font></i> </p>
-<p><font color="#000000">Copy created script into the <i>&lt;Install_Wizard_root_directory&gt;/config_files</i>
-sub-directory where all installation scripts are stored. Installation
-Wizard
-will automatically search and call your script during the installation
+<i><font color="#000000">med.sh install_binary
+/tmp/INSTALLWORK21797
+./Products/BINARIES/Mandriva2010.0
+'gcc tcltk tcltk_src Python Python_src Qt Qt_src ... DOCUMENTATION
+DOCUMENTATION_src'
+Med
+'gcc Hdf Med'
+./Products/SOURCES
+FALSE
+./Products/BINARIES/Mandriva2010.0
+</font></i></p>
+<p><font color="#000000">Copy the created script
+into
+the <i>&lt;Install_Wizard_root_directory&gt;/config_files</i>
+sub-directory where all installation scripts are stored. The Installation
+Wizard will automatically search and call your script during the
+installation
 procedure.</font>
 </p>
 <hr> <br>
 procedure.</font>
 </p>
 <hr> <br>
+<h3><a name="finish_buttons"></a>Customizing <font color="#ff0000">Readme
+page</font> buttons</h3>
+The Installation Wizard allows customizing the layout of the last
+<i>"Finish installation"</i> page. If you want to add one
+or more
+buttons in this page to perform some specific actions at the
+end of the installation (for example, show the 'Release Notes' file by using
+Open Office) you can put an additional section to the XML
+configuration file. This is the <b>&lt;button&gt;</b>
+section (see <a href="#xml_files">here</a> for more
+details). <br>
+<br>
+To implement the action which will be performed when the user clicks on
+the button, you need to create a script and to put it into the
+<i>&lt;Install_Wizard_root_directory&gt;/config_files</i>
+directory.<br>
+There are some obligatory functions which should be implemented in this
+script. These functions are automatically called by the Installation
+Wizard GUI.
+<ul>
+  <li><b>check_enabled()</b></li>
+</ul>
+This procedure is called by the Installation Wizard when the
+<i>"Finish installation"</i> page is displayed and the
+status of the
+buttons should be modified according to the installation options. This
+procedure should return <b>0</b> if the corresponding
+action can be
+performed and, thus, the button should be enabled. Otherwise, it
+should return <b>1</b> - in this case the corresponding
+button will be
+disabled.
+<ul>
+  <li><b>execute()</b></li>
+</ul>
+This procedure is invoked when the user clicks the button. This
+procedure should return <b>0</b> if the corresponding
+action is carried out
+successfully and <b>1</b> if any error occurs.<br>
+<br>
+The calling signature of the script is the following:<br>
+<b><font color="#000000">&lt;product_script_name&gt;
+&lt;function_name&gt; &lt;target_directory&gt;
+&lt;temp_folder&gt;</font></b>
+<p><font color="#000000">where</font> <br>
+</p>
+<p><font color="#000000"><b>&lt;product_script_name&gt;</b>
+-
+the script name itself (retrieved from the XML configuration xml
+file);</font> <br>
+<font color="#000000"><b>&lt;function_name&gt;</b>
+- the name of the function;</font> <br>
+<font color="#000000"><b>&lt;target_directory&gt;</b>
+- the root target
+directory where the product is
+installed to;</font> <br>
+<font color="#000000"><b>&lt;temp_folder&gt;
+</b> - the directory for the temporary files.</font> <br>
+<br>
+<b>Note:</b> The standard Installation Wizard buttons
+"Launch
+SALOME" and "Release Notes" are implemented with this
+feature. Refer to the scripts <b>start_salome.sh</b> and
+<b>release_notes.sh</b> for the sample implementation.<br>
 <br>
 <br>
-</body>
+<b>Note:</b> Any button (even standard) can be ignored by
+the
+Installation Wizard if the attribute <b>&lt;disable&gt;</b>
+in the XML
+configuration file is set to the "true" value.
+</p>
+<hr><br>
+</font></body>
 </html>
 </html>