0

When running MiKTeX as non-admin, packages get automatically installed in AppData; sometimes, however, you want to manually install a version of a package in another root folder without removing the automatically-installed version. Unfortunately, the MiKTeX settings GUI does not allow moving user-added roots before the AppData folders and the initexmf documention provides no information other than saying you can edit config files using a command line option, but provides no information on where those config files can actually be found. How exactly would I go about changing the order of roots such that manually-added roots take precedence over the auto-included ones?

  • Imho the UserInstall (where miktex installs packages) is behind roots added by a user, only UserConfig and UserData is before. – Ulrike Fischer May 4 '16 at 16:12
  • UserInstall and UserConfig are the same folder for my distribution (%APPDATA%\Roaming\MiKTeX\2.9), which is Root 0. UserData (%APPDATA%\Local\MiKTeX\2.9) is Root 1. The GUI doesn't let me move my added root before UserInstall/UserConfig or move UserInstall/UserConfig below the root I added. – JAB May 4 '16 at 16:17
  • I don't think that you can change it now, unless you try to change the registry keys. But it doesn't sound right, it should be possible to add roots before the root used for installation. You could make a bug report. – Ulrike Fischer May 4 '16 at 16:28
  • I actually did think of changing the registry keys but couldn't locate the relevant ones. – JAB May 4 '16 at 16:30
  • 1
    Btw: I do have a single user installation, so I don't know for sure if UserInstall does normally go behind user roots (but imho it is something user probably would want). – Ulrike Fischer May 4 '16 at 17:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.