Packaging programs written by C # into application implementation steps sharing (installing, uninstalling) _c# tutorials

Source: Internet
Author: User
Tools/Raw Material vs2005 steps/Methods
  1. New Installation Deployment Project
    Open VS, click New Item, select: Other item type-> installation and Deployment-> Installation Wizard (same as Setup project), then click OK
  2. After the Setup wizard closes, open the Setup Wizard, click Next, or click to complete
  3. You can enter the project folder when the Setup Wizard completes:

    Double-click Application Folder to right-click in the margin on the right, select Add-> file, add the executable file of your application and the corresponding class library and component
    Then right-click your executable file, create a shortcut, and then cut or copy the shortcuts to the user's Program menu and user desktop on the left.
    This will create a shortcut to the program on "Start-> All Programs" and "desktop" after Setup installation is complete
    Then right click the Application folder on the left to open the Properties dialog box
    Remove the "[Manufacturer]" from the path of "DefaultLocation" in the attribute, otherwise the installer default installation directory will be "C:\programm file\ your username \ Installation Solution name" as amended:
    Then open Solution Manager, right-click your solution name, and select Properties

    In the Open property page, select Prerequisites.
    In the Open prerequisites page, it is important to select the selection below!!!!! 1!!!!!
    When selected, contains the. NETFramework component in the generated installation packages. (This option is not selected by default)
    OK, this completes 99%, then click on "Generate-> Generation Solution", Success!!
  4. Production complete
    Now open the Debug folder under the Solution folder and you will see the resulting installation files
Related Article

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.