When you create a Web Setup project in Microsoft Visual Studio 2003 or in Microsoft Visual Studio 2002 Service Pack 1, you can only deploy the project to the default Web site. The default Web site is bound to port 80 on the Web server. You cannot redirect the installation by changing the path during installation or by setting the TARGETDIR property in the Microsoft Windows Installer.
You may also recieve the following error message:
The specified path http://ServerName/Path is unavailable. The Internet Information Server might not be running or the path exists and is redirected to another machine. Please check the status of this virtual directory in the Internet Services Manager.
The Web Setup project is not designed to be installed on a Web site that uses the same port as the default Web site but uses different host headers or a different IP address from the default Web site. The Web Setup project must use a port that is different from the port that the default Web site uses.
Note When the project is installed, you can select a different port to deploy the project to a non-default Web site if you use the port to differentiate the sites.
To resolve this issue, download the DPCA.msi package from the Microsoft Download Center:Download the DPCA.msi package now. For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
In the File Download dialog box, click Save, and then select the folder where you want to install the file.
Open the folder that you selected in step 1, double-click DPCA.msi, and then click Run in the Open File dialog box.
Replace the DCPA.dll file in the C:\Program Files\Microsoft Visual Studio .NET <2003>\Common7\Tools\Deployment folder with the DCPA.dll file in the C:\Documents and Settings\UserAccount\My Documents\MSDN\DPCA folder.
You can now create the Web Setup project.
When you create a Web Setup project, an .msi file is created. You must run the EnableHostHeaders.js script file. This script accepts the .msi file as its command-line parameter. The EnableHostHeaders.js script file is typically installed in the following folder:
C:\Documents and Settings\UserAccount\My Documents\MSDN\DPCA