[tex-live] I am very angry now.

Norbert Preining preining at logic.at
Thu Jan 15 00:52:29 CET 2009

Hi Yue, hi Siep,

thanks a big lot, although, I must honestly say, I am completely
surprised. Maybe you Siep can understand that ...

The funny thing is that I don't have any idea what has happened:

The scripts:
---- unshort.bat ---
rmdir /s /q "C:\Documents and Settings\All Users\Start Menu\Programs\TeX Live 2008" 2>nul
del "C:\Documents and Settings\All Users\Desktop\PS_View.lnk" 2>nul
looks harmless

---- uninst.bat -------
@echo off
rem This should not be necessary, but sometimes it is:
path C:\Program Files\texlive\2008\bin\win32;%path%
"C:\Program Files\texlive\2008\tlpkg\tlperl\bin\perl.exe" "C:\Program Files\texlive\2008\texmf\scripts\texlive\uninstall-win32.pl"
call "C:\Program Files\texlive\2008\tlpkg\installer\unshort.bat"
copy "C:\Program Files\texlive\2008\tlpkg\installer\uninst2.bat" "%TEMP%"
rem pause
also looks quite straight forward, the uninstall-win32.pl only pops up
the window asking for "really uninstall". So nothing strange here.

Now the only interesing one:
------- uninst2.bat -----------
rmdir /s /q "C:\Program Files\texlive\2008\texmf-dist"
rmdir /s /q "C:\Program Files\texlive\2008\texmf-doc"
rmdir /s /q "C:\Program Files\texlive\2008\texmf"
rmdir /s /q "C:\Program Files\texlive\2008\readme.html"
rmdir /s /q "C:\Program Files\texlive\2008\bin"
rmdir /s /q "C:\Program Files\texlive\2008\tlpkg"
del /s /q "\README.*"
del /s /q "\LICENSE.*"
del /q "\index.html"
rmdir /s /q "C:\Program Files\texlive\2008\texmf-var"
rmdir /s /q "C:\Program Files\texlive\2008\texmf-config"
rmdir /s /q "C:\Program Files\texlive\2008\temp"
rmdir /s /q "C:\Program Files\texlive\2008\tlpkg"
del "C:\Program Files\texlive\2008\install-tl.log"
del "C:\Program Files\texlive\2008\release-texlive.txt"
set test=
for %%f in ("C:\Program Files\texlive\2008\*.*") do @set test=nonempty
if x%test%==x rd "C:\Program Files\texlive\2008"
@echo Done uninstalling TeXLive.
rem @pause
del %0

This also does not look problematic, but then, it looks like there is
something fishy, because the
	del /s /q "\README.*"
should have some start with "C:\Program Files\texlive\2008\README.*"

That is especially strange since the install-tl code in TLWinGoo does
not look fishy here, it prints:
rmdir /s /q \"$td\\bin\"
rmdir /s /q \"$td\\tlpkg\"
del /q \"$td\\README.*\"
del /q \"$td\\LICENSE.*\"
del \"$td\\index.html\"
where the $td expands to the TEXDIR, ie c:\Program Files\texlive\2008.
And it really does expand that in the lines above the README and below,
but not in the two lines in between. Very strange.

But still, that does not explain why it tried to remove all files.

SIEP, or ANYONE with W32 Experience?!?!?! Do you have ANY??? Idea???

Best wishes


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
The cigarette end someone discovers in the mouthful of lager they have
just swigged from a can at the end of party.
			--- Douglas Adams, The Meaning of Liff

More information about the tex-live mailing list