I am building a C# application that exports a CSV file to be used with the Visio org chart wizard.
How can I check that an installation of Visio exists, and what path?
The most obvious method is checking if C:\Program Files\Office12\ORGWIZ.EXE
exists, but that is fairly dependant on having Visio 2007 installed..
My other thought is checking the registry, but what is the most reliable source? I've looked under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\
where there are version numbers, but underneath them is a Visio\InstallRoot
which would be perfect except for checking each versions..
I read elsewhere that I could check Uninstall information under Software\Microsoft\Windows\CurrentVersion\Uninstall\
, but that looks fairly complicated for Windows components...