]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Add message that batch mode is unavailable in current version of IW.
authorakl <akl@opencascade.com>
Mon, 20 Aug 2007 06:18:43 +0000 (06:18 +0000)
committerakl <akl@opencascade.com>
Mon, 20 Aug 2007 06:18:43 +0000 (06:18 +0000)
runInstall

index a766b2e8ee1256dd7f92f31425a6f32fcd0c2d20..37bb8a29603aad73e3e37b10697022146cfe4c21 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",
@@ -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()