[tex-live] TeX Live installation tools

Lars Madsen daleif at imf.au.dk
Tue Nov 16 12:29:37 CET 2010

T T wrote:
> On 16 November 2010 10:09, Lars Madsen <daleif at imf.au.dk> wrote:
>> T T wrote:
>>> On 15 November 2010 15:36, Lars Madsen <daleif at imf.au.dk> wrote:
>>>> but where does the full uninstaller (the one to be found via Remove
>>>> programmes) come from?
>>> From install-tl.  There is currently no tlmgr interface to do it.
>>>> I would like to end up with a feature where one, after the TL transplant,
>>>> will not be able to see the difference between the transplanted TL and a
>>>> TL
>>>> installed into the same location using the netinstaller.
>>> I have that on my TODO (among other things) but have no time for any
>>> TL work ATM.
>>> How bad do you need it?
>>> Cheers,
>>> Tomek
>> Ok, the net installer runs (from TeXLive::TLWinGoo)
>>   create_uninstaller($vars{'TEXDIR'}, $vars{'TEXDIRW'},
>>      $vars{'TEXMFSYSVAR'}, $vars{'TEXMFSYSCONFIG'});
>> and I assume we can do the same, if we know these four vars, of which I
>> assume we can ask tlmgr
> No, don't do that!  The uninstaller currently removes EVERYTHING!  You
> would need to write your own versions of  create_uninstaller and
> unregister_uninstaller for w32client.
> Cheers,
> Tomek

BTW: can we ask tlmgr (or other items in TeXLive perl bundle) for this 

  my $TEXDIR="$vars{'TEXDIR'}";
   my $TEXDIRW="$vars{'TEXDIRW'}";
   my $TEXMFVAR="$vars{'TEXMFVAR'}";
   my $TEXMFLOCAL="$vars{'TEXMFLOCAL'}";

because the create_uninstaller needs it (btw, this is not documented in 
the perldoc info from TLWinGoo, I usually just read the source anyways)



More information about the tex-live mailing list