Package the c # program into an application.

Source: Internet
Author: User

Tools/raw materials vs2005 steps/methods

  1. Create an installation and deployment project
    Open VS, click "Create Project", select "other project type"> "installation and deployment"> "Installation Wizard" (the same is true for the installation project), and click "OK ".
  2. Close the Installation Wizard and open the Installation Wizard. Click Next or click Finish.
  3. After the installation wizard is complete, you can enter the project folder:

    Double-click "application folder", right-click the blank area on the right, and choose add> file to add the executable files and corresponding class libraries and components of your application.
    Right-click your executable file, create a shortcut, and cut or copy the shortcut to "user's 'project' menu" and "User desktop" on the left.
    After the installation and installation of the installer are complete, the program shortcut will be generated on "start-> All Programs" and "desktop ".
    Right-click "application folder" on the left to open the Properties dialog box.
    Remove "[manufacturer]" from the "defaultlocation" path in the property. Otherwise, the default installation directory of the installation program will be "c: \ programm file \ your USERNAME \ installation solution name "after modification:
    Open solution manager, right-click your solution name, and select Properties

    On the open properties page, select "system required ",
    On the System essentials page, select the following items. This is very important !!!!! 1 !!!!!
    After the installation is selected, the generated installation package contains the. netframework component. (this option is not selected by default)
    Now, 99% is complete, and then click "generate-> Generate solution". Success !!

  4. Production completed
    Now open the debug folder in the solution folder and you will be able to see the generated Installation File.

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.