Is there a way to get the location of an installed application without searching through the file system?
EDIT: Sorry for not making the question clear enough, What i am trying to is like figure out where firefox is installed from within an java application. I would like to initiate an install for an extension.
EDIT: Firefox has a registry key in HKLM\Software\Mozilla\Mozilla Firefox\\Main\InstallDirectory key. There is also a CurrentVersion key in that same HKLM\Software\Mozilla path that you can get the version number from.