David Allsopp wrote >The only thing which should write to C:\Program Files or C:\Program Files (x86) is a >setup program (MiKTeX Package Manager falls into this category) -
I believe the MiKTeX installer does as well >human beings >(and normal programs) should not write *anything* there. That's why the default >permission for normal users is read-only for C:\Program Files and why even programs >can't write to it unless they're running elevated (of course, you're running as >Administrator on Windows XP then these facts are masked). The correct place for >shared data between all users is, for Windows Vista / Windows 7, C:\ProgramData or >C:\Users\Public (it's a matter of taste whether you want to put a publically available third >party tree in the hidden C:\ProgramData or C:\Users\Public\Documents) or for >Windows XP, it's C:\Documents and Settings\All Users\Application Data or >C:\Documents and Settings\All Users\Documents. Andre and I went back and forth on this when preparing the manual mxinsuse.pdf and batch file instmus.bat (which calls setmaps.bat) for installing MusiXTeX 1.15. It was Andre who came up with what I believe is a very satisfying resolution. It involves using the built-in Windows environment variable %APPDATA%. For example, when I type "set" in a Windows XP command window, it tells me APPDATA=C:\Documents and Settings\Don\Application Data I believe %APPDATA% will represent a similar user-accessible path in Windows Vista and 7. So for the default we had the batch file copy MusiXTeX files into %APPDATA%\musixtexmf. I'd guess this will work for 99% of the Windows users of MusiXTeX. For the other 1% (who may have more than one user), I'm not sure what happens if the MusiXTeX files are in one user's space and that path is listed as a root in MiKTeX setup, but I'm about to do some testing that will answer that question. In any event, setmaps.bat could be edited to point to %ALLUSERSPROFILE%\Application Data\musixtexmf and that would put MusiXTeX where David suggested. --Don Simons ------------------------------- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music