Creating a Chocolatey Package For TexLive

Siep Kroonenberg siepo at bitmuis.nl
Sun Sep 13 21:41:32 CEST 2020


On Sun, Sep 13, 2020 at 05:45:48PM +0530, Naveen M K wrote:
> 
> Hi Norbert,
> 
> > All of which are present in the current installer, too ... maybe
> > you might take another look?

> Yeah, I noticed it. It is documented here also.
> http://tug.org/texlive/doc/texlive-en/texlive-en.html#x1-460006


> I think creating a chocolatey would be very easy. Just need to
> create a profile appropriately and then install using that.

> I plan to create packages just like in Debian, for example, it is
> `texlive-full`, `texlive-basic` and so on. (I would be very happy
> if you give me a list).

> But I don't know how to call the uninstaller. I can use
> https://chocolatey.org/docs/helpers-get-uninstall-registry-key to
> get the registry key and locate where is the uninstaller, provided
> if it is written there. Also, will the uninstaller be an `exe` or
> `msi` file as it supports only that(If not I should need to call
> manually.). If you could help me out there I may do the rest of
> the works. I will do the rest very easily. If needed for any files
> we can use https://chocolatey.org/docs/features-shim  for any bath
> script. (I don't think it is necessary though).

I already told you: it is simply a batchfile
<tlroot>/tlpkg/installer/uninst.bat

Please take a look at the Perl installer code (<tlroot>/install-tl)
and try to understand all the work it is doing, including
interfacing with the package database and running post-processing
code.

-- 
Siep Kroonenberg


More information about the tex-live mailing list.