Skip to content

TinyTex installation doesn't succeed: "This program is blocked by a group policy. For more information, contact your system administrator."" #443

@skyburz

Description

@skyburz

I am trying to install the TinyTeX distribution (TinyTeX-1) for a client with restricted admin rights in a Windows environment. When trying to install TinyTeX (tinytex::install_tinytex), I always get this message: "This program was blocked by a group policy. For more information, contact your system administrator". The download from https://yihui.org/tinytex/TinyTeX-1 works fine. I have also tried to install TinyTex on a local folder, where I know I have admin rights, and that has not worked. I get the same error message. So my question is:

  • Is this error message because tlmgr wants to download from a CTAN mirror that is blocked by the firewall,
  • or is it that the installation wants to execute an application that is blocked?

I have tried to add all the necessary paths correctly before the installation.
Sys.setenv((PATH = paste("C:/Users/[user]/AppData/Roaming/TinyTeX/bin", Sys.getenv("PATH"), sep = ";"))
options(tinytex.tlmgr.path = "C:/Users/[user]/AppData/Roaming/TinyTeX/bin/windows/tlmgr.bat")

Unfortunately, I can't give more specifics about the PC, because I currently don't have access to it. I am trying to solve the issue remotely.

I have been trying to resolve this issue for weeks now. I have check all the resolved issues available. Thanks a lot for your help!


By filing an issue to this repo, I promise that

  • I have fully read the issue guide at https://yihui.org/issue/.
  • I have provided the necessary information about my issue.
    • If I'm asking a question, I have already asked it on Stack Overflow or RStudio Community, waited for at least 24 hours, and included a link to my question there.
    • If I'm filing a bug report, I have included a minimal, self-contained, and reproducible example, and have also included xfun::session_info('tinytex'). I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version: remotes::install_github('rstudio/tinytex').
    • If I have posted the same issue elsewhere, I have also mentioned it in this issue.
  • I have learned the Github Markdown syntax, and formatted my issue correctly.

I understand that my issue may be closed if I don't fulfill my promises.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions