[tex-live] TeX Live installation tools

Lars Madsen daleif at imf.au.dk
Wed Nov 3 17:21:51 CET 2010


Philip Taylor (Webmaster, Ret'd) wrote:
> 
> 
> Lars Madsen wrote:
> 
>> see
>>
>> tlmgr --help
> 
> Hmm, nothing in the output of that that mentions "postaction",
> unfortunately.  Was "postaction" added after TL 2010 pre-release
> testing commenced ?
> 
> ** Phil.


I think it has been there more or less from the start.

 From running tlmgr --help (on linux with perldoc installated)

         path [--w32mode=user|admin] [add|remove]

         On Unix adds or removes symlinks for binaries, man pages, and 
info pages in the directories specified by the respective options (see 
above).

         On Windows, the registry part where the binary directory is 
added or removed is determined in the following way:

         If the user has admin rights, and the option "--w32mode" is not 
given, the setting w32_multi_user determines the location (i.e., if it 
is on then
         the system path, otherwise the user path is changed).

         If the user has admin rights, and the option "--w32mode" is 
given, this option determines the path to be adjusted.

         If the user does not have admin rights, and the option 
"--w32mode" is not given, and the setting w32_multi_user is off, the 
user path is changed,
         while if the setting w32_multi_user is on, a warning is issued 
that the caller does not have enough privileges.

         If the user does not have admin rights, and the option 
"--w32mode" is given, it must be user and the user path will be 
adjusted. If a user without
         admin rights uses the option "--w32mode admin" a warning is 
issued that the caller does not have enough provileges.

         postaction [--w32mode=user|admin] [--fileassocmode=1|2] [--all] 
[install|remove] [shortcut|fileassoc|script] [pkg]...

         Carry out the postaction "shortcut", "fileassoc", or "script" 
given as the second required argument in install or remove mode (which 
is the first
         required argument), for either the packages given on the 
command line, or for all if "--all" is given.

         The option "--w32mode" is "user" all actions will only carried 
out in the user accessible parts of the registry/filesystem, while the 
"admin" mode
         selects the system wide parts of the registry for the file 
associations.  Note that if you do not have enough permissions using 
"--w32mode=admin"
         will not succeed.

         For the postaction "fileassoc" the mode can be set with 
"--fileassocmode".  If it is set to 1, only new assocations are added, 
if it is set to 2,
         all associations are set to the TeX Live programs.




-- 

/daleif


More information about the tex-live mailing list