summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorSiep Kroonenberg <siepo@cybercomm.nl>2008-01-01 15:03:28 +0000
committerSiep Kroonenberg <siepo@cybercomm.nl>2008-01-01 15:03:28 +0000
commit3e508bc0c271a5ee124c948e59a5715c7e8ec2fb (patch)
treef4991b3b3a247752f611b4f66332d0a99dd7fcd0 /Master
parentb58186a5584b58a7ba38af0d4228790893509684 (diff)
autorun.inf, which configures the program that will be run
automatically when the cd/dvd is inserted, now points to install-tl.bat, which in its turn starts install-tl.pl. git-svn-id: svn://tug.org/texlive/trunk@6018 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/autorun.inf2
-rwxr-xr-xMaster/install-tl.bat24
2 files changed, 25 insertions, 1 deletions
diff --git a/Master/autorun.inf b/Master/autorun.inf
index c0a341b9cf7..ad896d62cc9 100644
--- a/Master/autorun.inf
+++ b/Master/autorun.inf
@@ -1,2 +1,2 @@
[autorun]
-OPEN=setuptl\tlpmgui.exe
+OPEN=install-tl.bat
diff --git a/Master/install-tl.bat b/Master/install-tl.bat
new file mode 100755
index 00000000000..fca50f077ea
--- /dev/null
+++ b/Master/install-tl.bat
@@ -0,0 +1,24 @@
+@echo off
+
+rem TeX Live Root; ends with backslash
+rem This should also work with UNC names
+set tlroot=%~dp0
+set tldrive=%~d0
+
+%tldrive%
+cd %tlroot%
+
+rem use provided Perl
+
+set PERL5SAVE=%PERL5LIB%
+
+set PERL5LIB=%tlroot%tlpkg\lib\Perl5_lib-TL_inst
+"%tlroot%tlpkg\bin\perl" "%tlroot%install-tl.pl"
+pause Done
+
+rem cleanup in case of start from command-line
+
+set PERL5LIB=%PERL5SAVE%
+set PERL5SAVE=
+set tldrive=
+set tlroot=