C # WinForm Program packaging

Source: Internet
Author: User

1, a new installation project, named "Setup3"

2. Click the application Folder

3. Right click Add File on right

Note: All programs under the Debug folder

Then add one more Msiexec.exe when adding your application project,
This file is under the C:\Windows\System32 folder,

4, upload the interface as follows:

5, add img folder, main storage ico file

6. Right click on the application Folder click the Properties window to remove "[manufacturer]" from the DefaultLocation property path, otherwise the installer default installation directory would be: "C:programm file\ user name \ Install solution Name"

7. Create a new shortcut in the user's program menu

8. Add Ico icon

8. Ensure that the system is installed with. NET framerwork 2.0 and Windows Installer2.0

Method: Right-click the solution name, select the Properties command, and in the Properties page that opens, click the Prerequisites button:

9. Key step: Click the solution name and click Properties

Copy ProductCode

10, the last click Regenerate can

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.