Here is the scenario.
I have application A, which is a add-on tool of application B (a third party product). I need to install a file in a directory of application B during the install of app A (Using Visual Studio 2005). I know the default directory location of app B, but the user could change that location during the install of app B. App B also sets an Environment variable of its location.
Is there any way I can use the System Environment variable that shows me the location of App B in my Visual Studio 2005 Setup project for App A to install that file correctly?