Setup Wizard: using environment variables in user directory path names

by CSchenk30. May 2012 10:52

The latest version of the setup wizard makes it possible to use delay-expanded environment variables when specifying places for user directories.

For example, consider a shared configuration where all user directories have to be sub-directories of a central directory (say \\server\miktexuser). The user directories can then be specified as follows (in setupwiz.opt):

--shared
--user-config=\\server\miktexuser\<USERNAME>
--user-data=\\server\miktexuser\<USERNAME>
--user-install=\\server\miktexuser\<USERNAME>

The environment variable USERNAME will be expanded at run-time: when user Jane runs a MiKTeX program the directory \\server\miktexuser\Jane is her MiKTeX user directory.

Comments are closed