Windows froms program Packaging

Source: Internet
Author: User

Today I have studied how to package windows froms programs.

Running Environment: vs2010 English version

. NET Framework 2.0

 

I searched several articles online:

 

1:

Teach you how to use C # package an application (installer) [Uninstall a module added]

Address: http://hi.baidu.com/sunxiangwei/blog/item/2b09948f0c15a4ff503d926e.html

 

2:

How to Use vs to create a winform installation package

Address: http://www.cnblogs.com/chankcheng/articles/1774932.html

 

 

3: vs2010 does not have a. NET 2.0 prerequisite release package when creating a setup project.

 

Reference: the problem is solved. vs2008 is reinstalled on the virtual machine, and the "dotnetfx" folder is extracted from c: \ Program Files \ microsoft sdks \ windows \ v6.0a \ bootstrapper \ packages, this is. NET 2.0 prerequisite installation package, copy to c: \ Program Files \ microsoft sdks \ windows \ v7.0a \ bootstrapper \ packages, and then select in vs2010.. NET 2.0 is a prerequisite. This will check whether the system is installed during project installation. NET 2.0, if not installed, install the project package. NET 2.0 Framework.

 

Address: http://www.cnblogs.com/fcsh820/archive/2010/10/16/1852983.html

 

 

4: vs.net application icons and Setup of installation shortcuts

 

Code

 Reference:

Set the shortcut icon when creating the installation program (packaging the application) in the vs.net environment:

1. Create a new installation and deployment project;

2. Select the "File System" menu item from the "View" menu and add the program files to be packaged to the "Application folder ";

3. Right-click the EXE file to create a shortcut, select "create XXXXX shortcut", and drag the shortcut file to the "user program menu" folder;

4. Select the shortcut file with the mouse, set the icon attribute in property manager, and select the custom icon;

5. Repeat Steps 3 and 4 to create a desktop shortcut;


 

 

Http://hi.baidu.com/songshu5555/blog/item/f2d24ece18d94a35b600c82b.html

 

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.