summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec/install-tl.nsi
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/libexec/install-tl.nsi')
-rw-r--r--Master/tlpkg/libexec/install-tl.nsi17
1 files changed, 9 insertions, 8 deletions
diff --git a/Master/tlpkg/libexec/install-tl.nsi b/Master/tlpkg/libexec/install-tl.nsi
index 301a629f86a..1a6a8317801 100644
--- a/Master/tlpkg/libexec/install-tl.nsi
+++ b/Master/tlpkg/libexec/install-tl.nsi
@@ -3,7 +3,8 @@
; This file is licensed under the GNU General Public License version 2
; or any later version.
;
-; This nsi script is used by tl-update-install-pkg to make install-tl.exe.
+; This nsi script is used by tl-update-install-pkg to make
+; install-tl-windows.exe.
!include nsDialogs.nsh
!include WinVer.nsh
@@ -25,7 +26,7 @@
!include tlsubdir.nsh ; generated by tl-update-install-pkg
Name "TeX Live Installer ${YYYYMMDD}"
-OutFile install-tl.exe
+OutFile install-tl-windows.exe
Caption "TeX Live installer"
SubCaption 2 ": Unpack directory"
@@ -58,7 +59,7 @@ Var Completed_text
CompletedText $Completed_text
Var InstOrUnpack
-; parameters to nsis installer are passed along to install-tl.bat
+; parameters to nsis installer are passed along to install-tl-windows.bat
Var PARMS
Page custom tlOptionsPage tlOptionsPageLeave
@@ -160,7 +161,7 @@ Function tlOptionsPageLeave
${If} $Radio_Value == "unpack"
StrCpy $INSTDIR "$DESKTOP"
StrCpy $Completed_text \
- "Done unpacking; next run install-tl.bat or install-tl-advanced.bat."
+ "Done unpacking; next run install-tl-windows.bat or install-tl-advanced.bat."
StrCpy $InstOrUnpack "Unpack"
;StrCpy $NextOrUnpack "Next"
${Else}
@@ -213,7 +214,7 @@ Function ConfirmPage
${If} $Radio_Value == "unpack"
${NSD_CreateLabel} 0 30% 100% 80u \
- "The main installer will be unpacked into $INSTDIR\${INST_TL_NAME}.$\r$\n$\r$\nStart the main installer with install-tl.bat or install-tl-advanced.bat."
+ "The main installer will be unpacked into $INSTDIR\${INST_TL_NAME}.$\r$\n$\r$\nStart the main installer with install-tl-windows.bat or install-tl-advanced.bat."
${ElseIf} $Radio_Value == "advanced"
${NSD_CreateLabel} 0 30% 100% 80u \
"Click 'Install' to start the main installer,$\r$\nwhich lets you select components and an installation directory.$\r$\n$\r$\nUnpacking the main installer may take a few moments..."
@@ -255,9 +256,9 @@ Section
File /r ${INST_TL_NAME}
${If} $Radio_Value != "unpack"
- ; create a copy of install-tl.bat which exits with an exit code
+ ; create a copy of install-tl-windows.bat which exits with an exit code
Push $0
- File /oname=${INST_TL_NAME}\inst_mod.bat ${INST_TL_NAME}\install-tl.bat
+ File /oname=${INST_TL_NAME}\inst_mod.bat ${INST_TL_NAME}\install-tl-windows.bat
FileOpen $0 ${INST_TL_NAME}\inst_mod.bat a
FileSeek $0 0 END
FileWrite $0 "if errorlevel 1 (exit 1) else (exit 0)"
@@ -281,7 +282,7 @@ Section
${ElseIf} $0 == "timeout"
MessageBox MB_ICONSTOP|MB_OK "Timeout"
${ElseIf} $0 <> 0
- MessageBox MB_ICONSTOP|MB_OK "Error; for better info, unpack,$\r$\nthen run install.bat or install-advanced.bat."
+ MessageBox MB_ICONSTOP|MB_OK "Error; for better info, unpack,$\r$\nthen run install-tl-windows.bat or install-tl-advanced.bat."
; ${Else}
; MessageBox MB_ICONSTOP|MB_OK "No error"
${EndIf}