prahesh 0 Newbie Poster

Hi

I am creating a Setup and Deployment project using Visual Studio 2008, professional edition.
And I was able to build successfully the desired .msi and setup.exe files.

Requirement:
But I want to create a Setup project which searches registry entries for the pre-installed software (VISA) and install our setup project into the same location.

It is like Look for registry entries and gets the location of VISA software installed and to the same location updates our Target installation location dynamically while installing the setup project.
As I am aware of the project setting configuration, we can achieve this through Launch Conditions option available at “requirement on target machine”.
But searching registry and after successful search update our target install location to the same as found in registry. If it did not found desired software, thru an Error message.

Please let me know the required configuration for achieving this.