Re: Finding a MikTeX installation
David Allsopp <[email protected]>
| Newsgroups | gmane.comp.tex.miktex |
|---|---|
| Organization | MetaStack Solutions Ltd. |
| Message-ID | <[email protected]> |
Tim Hoffmann wrote: > What is the best way to programatically find out if MikTeX is insalled and > if it is, where it's installed? Possibly the most reliable way is to search for miktex-tex.exe in the PATH variable and see what directory that comes back with? If you rule out MiKTeX Portable completely, you could analyse HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MiKTeX 2.9 (actually, you probably also need to look in the HKEY_CURRENT_USER version too, for users who have installed just for themselves). HTH, David ------------------------------------------------------------------------------ _______________________________________________ Q: How can I leave the mailing list? A: See http://docs.miktex.org/faq/support.html#leavingml