Clickonce package and deploy the winform Application Program
1. Open the project in vs. net2005.
2. In Solution Explorer, select "budgetmain", right-click and select Properties.
3. Select the publish option on the left side of the Properties dialog box. As shown in:
The following describes how to set several attributes:
A. Release location: the position where the packaged program is put. We set it in the file, for example, D: \ release version.
B. Installation URL: indicates that the user installs the application through this URL. We do not need to set it here.
C. installation mode and settings: indicates that the user must start the program online or offline. When you select "offline", the start icon is generated in the "Start" menu, but not vice versa. Select option 2: The application can also be used offline (you can start from the "Start" menu ).
D. application file: indicates the DLL on which the system runs, including the DLL generated by a third-party control, for example: the DLL generated by the Cell Control and weboffice2004 control should be included. As shown in:
E. System essential: indicates the system components necessary for running programs on the client computer, including. NET Framework 2.0 and Windows Installer 3.1. Select these two items. In "specify the installation location of required system components", select item 2 "to download required system components from the same location as my application.
F. Update location: set as follows:
G. Option: set as follows:
H. Release Version: set as follows:
I. Release Wizard:
Step 1: Where to publish the application:
Step 2: How do users install applications?
Step 3: where will the publisher check for updates: (Format: \ Client Server IP \ Folder \)
Step 4: release ready
~~~~~~~~~~~~~~~~~~~~~~ Click Finish ~~~~~~~~~~~~~~~~~~~~~~~~~~~~