From: akl Date: Mon, 20 Aug 2007 06:18:43 +0000 (+0000) Subject: Add message that batch mode is unavailable in current version of IW. X-Git-Tag: IMP_BR_4~37 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a0e0e75d11e1df50a15de7161f6932a4ec3600b6;p=tools%2Finstall.git Add message that batch mode is unavailable in current version of IW. --- diff --git a/runInstall b/runInstall index a766b2e..37bb8a2 100755 --- a/runInstall +++ b/runInstall @@ -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()