I am trying to put together a deployment for a third party plugin. The problem I have not been able to figure out is how to find the current intall directoy so that I can place my files underneith it. My only guarantee is that the main program will install under C:\Program File, but from there it could be anywhere .
The default location in VS2008 is [ProgramFilesFolder][Manufaturer]\[ProductName] which is nowhere close. There is no guarenteed registry setting, the best I have been able to do is search the file structure for 1stparty.exe, but I am not sure where to go from there.
If for example I get back that EXEPATH = C:\Program Files\This\That\1stparty.exe, then I need to put all my files under C:\Program Files\This\That\Plugin\3rdparty\
Under custom actions-> install i added a vb script that popped up a msgbox to show me EXEPATH but it appeared to run after all files had been moved to the default location and all files registered.
Am I making any sense? Thank you for any help you can give.