Building and Deploying the Setup Project

Building the 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 Windows application.

Note

Always ensure that the target computer already has the .NET Framework installed. For more information about the .NET Framework, see .NET Framework 2.0.

To build the Setup Project

  1. In Solution Explorer, select Setup1.

  2. From the Build menu, choose Build Setup1.

The build process creates the following installer files: setup.exe and Setup1.msi.

To deploy the Setup Project

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

  2. Double-click the Setup1 folder.

  3. Open the Debug folder to find the files that were built from the Setup Project.

  4. Copy the .msi Windows Installer file to the target computer.

  5. Distribute the Crystal reports that are used in the Windows application.

    For more information about which binding scenarios need to distribute report files, see Report Files.

  6. On the target computer, double-click Setup1.msi to install the Windows application with Windows Installer.

  7. To view the Windows application, navigate to its installed location, and then double-click the Windows application .exe file.