Normally would not dig up and post to a topic this old but since I have code that pretty much already tells you where it's installed I'll post for those that happen along her in a Google search somehow.

Using the registry location for AppPath will tell you where the application is installed.

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths

Read it and use in var as needed.