summaryrefslogtreecommitdiff
path: root/Master/install-tl
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-02-02 06:18:19 +0000
committerNorbert Preining <preining@logic.at>2009-02-02 06:18:19 +0000
commit1665be4acaf4101aba8b29f2b5b994329b10eda3 (patch)
tree77b20d5241f1bafbd24f2bebb455dcc1df401269 /Master/install-tl
parenta3a0384b038f114a589c4750bfd2bb14ad858c7f (diff)
much advanced wizard
git-svn-id: svn://tug.org/texlive/trunk@12050 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-xMaster/install-tl46
1 files changed, 43 insertions, 3 deletions
diff --git a/Master/install-tl b/Master/install-tl
index f9dfe4f1752..fa6116a6620 100755
--- a/Master/install-tl
+++ b/Master/install-tl
@@ -411,6 +411,16 @@ if ($opt_profile eq "") {
our $MENU_QUIT = 2;
our $MENU_ALREADYDONE = 3;
$opt_gui = "text" if ($opt_no_gui);
+ # finally do check for additional screens in the $opt_gui setting:
+ # format:
+ # --gui <plugin>:<a1>,<a2>,...
+ # which will passed to run_menu (<a1>, <a2>, ...)
+ #
+ my @runargs;
+ if ($opt_gui =~ m/^([^:]*):(.*)$/) {
+ $opt_gui = $1;
+ @runargs = split ",", $2;
+ }
if (-r "tlpkg/installer/install-menu-${opt_gui}.pl") {
require("installer/install-menu-${opt_gui}.pl");
} else {
@@ -418,7 +428,7 @@ if ($opt_profile eq "") {
tlwarn("Using text mode installer.\n");
require("installer/install-menu-text.pl");
}
- my $ret = run_menu();
+ my $ret = run_menu(@runargs);
if ($ret == $MENU_QUIT) {
do_cleanup(); MISSING
flushlog();
@@ -1473,12 +1483,42 @@ L<http://tug.org/texlive/doc/install-tl.html>.
=over 4
-=item B<-gui>
+=item B<-gui> [[=]I<module>[:I<arg1>,...]]
+
+If no I<module> is given starts the default GUI installer (default on
+Windows).
+
+If I<module> is given loads the given installer module. Currently the
+following modules are supported:
+
+=over 8
+
+=item C<text>
+
+The text mode user interface which is the default on Unix systems, and
+can be forced with by giving C<text> as I<module>, or with the C<-no-gui>
+switch.
+
+=item C<perltk>
-If possible, use the GUI installer (default on Windows). This requires
+The all-in-one GUI installer which is the default on Windows. It is
+also selected when giving the C<-gui> option without any I<module>.
+
+=item C<wizard>
+
+A new wizard like installation menu. This I<module> allows selecting
+specific pages of the wizard by giving them as I<argN>:
+
+ -gui wizard:welcome,path,scheme,integration,install
+
+=back
+
+The C<perltk> and C<wizard> modules, and thus also when calling with a
+simple C<-gui> (without I<module>) requires
the Perl/Tk module (L<http://tug.org/texlive/distro.html#perltk>; if
Perl/Tk is not available, installation continues in text mode.
+
=item B<-no-gui>
Use the text mode installer (default except on Windows).