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).