Use clickonce to deploy the winform Application

Source: Internet
Author: User
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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.