[texworks] Setup on Windows

Norbert Preining preining at logic.at
Mon Jul 13 18:26:28 CEST 2009


On Mon, 13 Jul 2009, T T wrote:
> http://www.tug.org/svn/texlive/trunk/Master/tlpkg/bin/tl-update-nsis

The nsis script itself basically is:
Page directory
Page instfiles

Name "TeX Live Manager Update NNNNNN"
OutFile "update-tlmgr-NNNNNN.exe"
InstallDir "$PROGRAMFILES\texlive\2008"

RequestExecutionLevel "user"

DirText "Setup will update the TeX Live Manager of your TeX Live installation in the following folder. \
 To install in a different folder, click Browse and select another folder. \
 Click Install to start the update."

Function .onInit
  SearchPath $0 tlmgr.bat
  ${GetParent} $0 $1
  ${GetParent} $1 $0
  ${GetParent} $0 $1
  ;MessageBox MB_OK "tlmgr=$1"
  StrCpy $INSTDIR $1
  ;SetOutPath $1
FunctionEnd

Function .onVerifyInstDir
  IfFileExists $INSTDIR\tlpkg\texlive.tlpdb PathGood
    Abort
  PathGood:
FunctionEnd

Section "MainGroup"
  #SetOutPath "$INSTDIR"
  #File /r tlupdates\*.*
----------------------------

And that creates the .exe update-tlmgr-latest.exe

Much more can be done .... but I never checked that.

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining at logic.at>        Vienna University of Technology
Debian Developer <preining at debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
HORTON-CUM-STUDLEY (n.)
The combination of little helpful grunts, nodding movements of the
head, considerate smiles, upward frowns and serious pauses that a
group of people join in making in trying to elicit the next
pronouncement of somebody with a dreadful stutter.
			--- Douglas Adams, The Meaning of Liff


More information about the texworks mailing list