title: Where has my user installed my web setup project?
body: <p>I have a web setup project, and a web service project in visual studio 08</p>
  
  <p>In my web setup project i allow the user to choose his virtual directory name and by the end of the installation i have an installer class in my web service project that "wants" to do some stuff such as opening a web page with the web service home page installed.</p>
  
  <p>The thing is that i know how to pass parameters from the web setup project such as TARGETDIR in my installer class but i can't figure out the URL of what he installed. IE if he installed a virtual directory named foo i can assume that he it is located at <a href="http://localhost/foo" rel="nofollow noreferrer">http://localhost/foo</a> but what if i miss some configuration of the IIS and maybe the website is located under <a href="http://localhost/whatever/foo" rel="nofollow noreferrer">http://localhost/whatever/foo</a> ?</p>
  
  <p>So, to keep it relatively short, by the end of the installation i need to know in my installer class my web service's URL.</p>