Salome HOME
To introduce a new possibility - installation of binaries of the prerequisites into...
[tools/install.git] / runInstall
index a766b2e8ee1256dd7f92f31425a6f32fcd0c2d20..1a0df58c0be116cc636e30b299968c7dce6ced5d 100755 (executable)
@@ -668,7 +668,7 @@ def parse_parameters():
                           dest="gui",
                           default=True,
                           help=help_str)
-    help_str  = "Runs the Installation Wizard in the TUI mode."
+    help_str  = "Runs the Installation Wizard in the TUI mode (UNAVAILABLE NOW)."
     opt_parser.add_option("-b",
                           "--batch",
                           action="store_false",
@@ -1032,7 +1032,7 @@ if __name__ == "__main__":
         if not env.has_key("LD_LIBRARY_PATH") :
             env["LD_LIBRARY_PATH"] = ""
 
-        env["LD_LIBRARY_PATH"] =  ".:" + env["LD_LIBRARY_PATH"]
+        env["LD_LIBRARY_PATH"] =  "./bin/lib:" + ".:" + env["LD_LIBRARY_PATH"]
         env["PATH"] = ".:" + env["PATH"]
 
         cmd = "./bin/SALOME_InstallWizard"
@@ -1046,6 +1046,10 @@ if __name__ == "__main__":
         sys.exit(os.system(cmd))
 
     #-----  TUI ---------------------
+
+    msg = "Sorry, batch mode is unavailable in current version of SALOME Install Wizard!\n"
+    msg += "Use GUI mode to install SALOME, please."
+    error_exit(msg)
     
     # get program dir
     cur_dir = get_program_path()