installdiskspace="0,814464,0"
script="DOCUMENTATION.sh"/>
</product>
+ <product name="SIMAN"
+ type="component"
+ description="SALOME simulation manager">
+ <installation os="CentOS 5.5 64bit"
+ version="7.3.0"
+ disable="false"
+ installdiskspace="0,814464,0"
+ script="SIMAN.sh"/>
+ </product>
<product name="tcltk"
type="prerequisite"
description="Tcl/Tk library">
installdiskspace="0,814464,0"
script="DOCUMENTATION.sh"/>
</product>
+ <product name="SIMAN"
+ type="component"
+ description="SALOME simulation manager">
+ <installation os="CentOS 5.5 64bit"
+ version="7.3.0"
+ disable="false"
+ installdiskspace="0,814464,0"
+ script="SIMAN.sh"/>
+ </product>
<product name="tcltk"
type="prerequisite"
description="Tcl/Tk library">
installdiskspace="0,814464,0"
script="DOCUMENTATION.sh"/>
</product>
+ <product name="SIMAN"
+ type="component"
+ description="SALOME simulation manager">
+ <installation os="CentOS 5.5 64bit"
+ version="7.3.0"
+ disable="false"
+ installdiskspace="0,814464,0"
+ script="SIMAN.sh"/>
+ </product>
<product name="tcltk"
type="prerequisite"
description="Tcl/Tk library">
installdiskspace="0,814464,0"
script="DOCUMENTATION.sh"/>
</product>
+ <product name="SIMAN"
+ type="component"
+ description="SALOME simulation manager">
+ <installation os="CentOS 5.5 64bit"
+ version="7.3.0"
+ disable="false"
+ installdiskspace="0,814464,0"
+ script="SIMAN.sh"/>
+ </product>
<product name="tcltk"
type="prerequisite"
description="Tcl/Tk library">
installdiskspace="0,814464,0"
script="DOCUMENTATION.sh"/>
</product>
+ <product name="SIMAN"
+ type="component"
+ description="SALOME simulation manager">
+ <installation os="CentOS 5.5 64bit"
+ version="7.3.0"
+ disable="false"
+ installdiskspace="0,814464,0"
+ script="SIMAN.sh"/>
+ </product>
<product name="tcltk"
type="prerequisite"
description="Tcl/Tk library">
installdiskspace="0,814464,0"
script="DOCUMENTATION.sh"/>
</product>
+ <product name="SIMAN"
+ type="component"
+ description="SALOME simulation manager">
+ <installation os="CentOS 5.5 64bit"
+ version="7.3.0"
+ disable="false"
+ installdiskspace="0,814464,0"
+ script="SIMAN.sh"/>
+ </product>
<product name="tcltk"
type="prerequisite"
description="Tcl/Tk library">
installdiskspace="0,814464,0"
script="DOCUMENTATION.sh"/>
</product>
+ <product name="SIMAN"
+ type="component"
+ description="SALOME simulation manager">
+ <installation os="CentOS 5.5 64bit"
+ version="7.3.0"
+ disable="false"
+ installdiskspace="0,814464,0"
+ script="SIMAN.sh"/>
+ </product>
<product name="tcltk"
type="prerequisite"
description="Tcl/Tk library">
--- /dev/null
+#!/bin/bash -noprofile
+
+####################################################################################
+# File : SIMAN.sh
+# Created : Fri Dec 06 16:23 2013
+# Author : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com)
+# Project : SALOME
+# Module : Installation Wizard
+# Copyright : 2002-2013 CEA
+#
+# This script is the part of the SALOME installation procedure.
+#
+####################################################################################
+
+check_version(){
+# no way to check version
+return 0
+}
+
+print_env_bin(){
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
+#${DELIM} ${PRODUCT_TYPE} ${DELIM}
+export SIMAN_ROOT_DIR=\${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
+##
+EOF
+(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
+make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}"
+}
+
+print_env_src(){
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh <<EOF
+#${DELIM} ${PRODUCT_TYPE}_src ${DELIM}
+export SIMAN_SRC_DIR=\${INST_ROOT}/${PRODUCT_SRC}
+##
+EOF
+
+(test -w ${PRODUCT_SRC_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh ${PRODUCT_SRC_DIR})
+make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}"
+}
+
+try_preinstalled(){
+try_existing ${PRODUCT_DIR} ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}
+try_existing ${PRODUCT_SRC_DIR} ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src
+return $?
+}
+
+install_source()
+{
+make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src
+source ${INSTALL_WORK}/${SHRC}
+
+check_jb tar xfz ${SOURCE_DIR}/SIMANsourcesV${SALOME_VERSION}.tar.gz -C ${INST_ROOT}
+
+# to generate environment scripts
+try_preinstalled
+}
+
+install_source_and_build()
+{
+# install sources
+install_source
+
+# remove sources and temporary files after building
+if [ ${REMOVE_SRC_TMP} = "TRUE" ] ; then
+ test -d ${PRODUCT_SRC_DIR} && rm -fr ${PRODUCT_SRC_DIR}
+fi
+
+# to generate environment scripts
+try_preinstalled
+}
+
+install_binary()
+{
+echo "It's impossible to install ${PRODUCT} from binaries"
+
+# to generate environment scripts
+try_preinstalled
+
+return 1
+}
+
+source ./common.sh
+
+export PROCEDURE=$1;
+export INSTALL_WORK=$2;
+export SOURCE_DIR=$3;
+export INST_ROOT=$4;
+export PRODUCT_SEQUENCE=$5;
+export PRODUCT_TYPE=$6;
+export INSTALL_PRODUCTS=$7;
+SRC_DIR=$8;
+shift
+REMOVE_SRC_TMP=$8;
+shift
+SINGLE_DIR=$9;
+if [ -n "${SINGLE_DIR}" ] ; then SINGLE_DIR=${SDIR_NAME}; fi
+export PRODUCT="SIMAN_${SALOME_VERSION}"
+export PRODUCT_SRC="SIMAN_SRC_${SALOME_VERSION}"
+export PRODUCT_DIR=${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
+export PRODUCT_SRC_DIR=${INST_ROOT}/${PRODUCT_SRC}
+${PROCEDURE}