ClickOnce Deployment: Introduction
ClickOnce reduces the time and effort required to deploy Windows applications across a network. Rather than distribute a separate executable to each individual hard drive, ClickOnce places the executable on a common Web page, from which all users can launch it. As part of the launch process, a copy is retrieved to the user's hard drive that can be used to re-launch the application locally. However, this local copy regularly checks the source executable on the Web page for updates.
Updates to the Windows application can be re-published to the Web server, and the newer application files are then available to clients. If an older version of the Windows application opens locally on a client machine, an update dialog box gives the option to check for updates from the Web server.
In this tutorial, you create a new Windows application. Next, you add a CrystalReportViewer control to the Windows Form. Then you create a Crystal report that binds to the control.
Before you publish the Windows application to the Web Site, you set the following properties:
- Automatic Updates
To publish the Windows application, you use the Publishing Wizard to choose a Web Site address. The published Web Site contains hyperlinks to the Windows application installer and the ClickOnce deployment online help. If you have set the prerequisite properties, the Web Site also has a link to the prerequisite files. After the Windows application publishes to the Web Site at the end of this tutorial, you install and run the application on a client machine.
Continue to Creating and Binding a Report.