Creating a Chocolatey Package For TexLive
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.
> 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
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
More information about the tex-live