summaryrefslogtreecommitdiff
path: root/Master/install-tl.bat
diff options
context:
space:
mode:
authorSiep Kroonenberg <siepo@cybercomm.nl>2013-04-15 19:18:33 +0000
committerSiep Kroonenberg <siepo@cybercomm.nl>2013-04-15 19:18:33 +0000
commit86cf5bb0eb3a1ee72b3e40fb1dcf2297465fa4ff (patch)
tree3a228e27aea1ba84d66e83e7988ef4d2cc5b81fe /Master/install-tl.bat
parent3f002f2d7ccf252e5e9db23dff154fe5f6bcad38 (diff)
Better feedback nsis installer
git-svn-id: svn://tug.org/texlive/trunk@29952 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/install-tl.bat')
-rwxr-xr-xMaster/install-tl.bat14
1 files changed, 6 insertions, 8 deletions
diff --git a/Master/install-tl.bat b/Master/install-tl.bat
index 6b85ede22ce..6cffb14a535 100755
--- a/Master/install-tl.bat
+++ b/Master/install-tl.bat
@@ -15,7 +15,7 @@ if %~d0==\\ goto UNC
rem Localize environment changes
setlocal enableextensions
-rem Do we really need to cd to the batch location?
+rem Do we really need to cd to the batch location? Yes.
cd /d "%~dp0"
rem Remove any double quotes from PATH (why we care for it at all???)
@@ -50,9 +50,10 @@ set PERL_UNICODE=
rem Start installer
path
-perl "%~dpn0" %*
+echo "%~dp0install-tl" %*
+perl "%~dp0install-tl" %*
pause
-goto :eof
+goto :eoff
rem Subroutine to build search path without tex directories
rem any dir containing pdftex.exe is considered a tex dir
@@ -68,11 +69,6 @@ rem Add dir to path
set "path=%path%;%~1"
goto :rebuildpath
-rem About install-tl.bat.manifest:
-rem Vista assumes that a file with install in the name is
-rem an installer and therefore requires administrative privileges.
-rem The manifest file tells Vista otherwise.
-
:UNC
echo Cannot run from UNC path.
echo Map network drive to a drive letter and rerun the installer.
@@ -84,3 +80,5 @@ exit /b 1
echo DOS and Windows 9x systems are not supported. Sorry.
echo Windows 2000 or newer is required.
pause
+
+:eoff