prahesh 0 Newbie Poster

Setup package with installer location update according to registry search

I have created a Setup and Deployment project and successfully created the Setup.exe

Now I want to install the setup into the location where another dependent software VISA is installed or say location on the local drive.

For doing that I have followed the approach of searching Registry and update the target install path to the one found by Registry search.

Please find the link attached.
http://support.microsoft.com/kb/827026
http://msdn.microsoft.com/en-us/library/ay12wede%28v=vs.71%29.aspx
http://msdn.microsoft.com/en-us/library/h0z89y5d%28v=vs.71%29.aspx

After doing that I am getting the Error "Network path not found".

Could anybody suggest why I am getting this Error?