title: How to provide an option in a Setup project dialog box where the user can choose the instance names from the local machine or a server?
body: <p>Suppose I have a dialog box for giving an instance name and I want to see what are the other instances available in the local machine or the server and what if the user has both SQL Server 2005 and SQL Server 2008 installed in his system and I want to choose the instance name to deploy the database into. How do I achieve this using a Setup project created using Visual Studio 2010?</p>
  
  <p>Please guide me as I'm new to Setup project.
  Thanks </p>