Share via


To Build and Deploy the Web Setup Project

Building the Web Setup Project creates the installer files to copy to other computers. You can run either of these installers on the target computer to deploy the Web Site.

Note

Always ensure that the target computer already has the .NET Framework installed.

To build the Web Setup Project

  1. Change the Solution Configuration to Release.
  2. In Solution Explorer, select WebSetup1.
  3. From the Build menu, click Build WebSetup1.
    • If you are using Visual Studio 2005 or 2008, the build process creates the following installer files:
      • setup.exe
      • Setup1.msi
    • If you are using Visual Studio .NET 2003, the build process creates the following installer files:
      • InstMsiA.exe
      • InstMsiW.exe
      • setup.exe
      • setup.ini
      • Setup1.msi

To deploy the Web Setup Project

  1. Outside of Visual Studio, navigate to the directory where your deployment project has been saved.

  2. Double-click the WebSetup1 folder.

  3. Open the Release folder to find the files that were built by the Web Setup project.

  4. Copy all the files to the target computer.

  5. Distribute the Crystal reports that are used in the Web Site.

For more information about which binding scenarios require you to distribute report files, see [Report Files](ms225231\(v=vs.90\).md).
  1. On the target computer, double-click Setup.exe or WebSetup1.msi to install the Web Site.

  2. To view the deployed Web Site, open a Web browser window on the target computer. Then type "https://localhost/WebSetup1" in the address bar.

Replace "localhost" with the name of your server.


> [!NOTE]
> <P>For the application to work correctly, the application server of the target machine must be set to the version number of the .Net framework version used to build the installation project.</P>