VS2017 Winfrom Packaging Setup and tutorials

Source: Internet
Author: User
Tags visual studio installer

Project useful to Winfrom do the matching printing program, directly to the customer a debug folder, of course, is not very good.

Record the packaging process.

Body

First you need to download the Visual Studio plugin to the place to download:

Search Microsoft Visual Studio Installer Projects, download and install, and restart vs.

One. Create a packaged file:

1. Right-click Project--Add-new project

2. Select another project type--Visual Studio Installer--and Setup project--Enter project name--OK

Such as:

3. Add a portal file (that is, the Main method): Select Application Folder----and add-to project output:

(PS: Here remember, be sure to choose your own solution of the main output project ~)

4. Right-click the main output and create a shortcut:

Select the shortcut, the right side has the corresponding property, translate:

5. Drag the shortcut to the User's desktop folder (here to automatically generate a shortcut on the desktop):

6. Set the shortcut to the menu bar, repeat the fourth step, and then drag the shortcut file to the user's Programs menu folder:

7. Set up the application required. NET version, right-click on the Setup project, select Properties:

Select the Prerequisites button:

Choose what you need for your project. NET version,

The download of the supplier's website means that it is downloaded directly from Microsoft's website (also available from your website, but needs to be set)

The second option is to package your environment with the application, but this requires you to have the relevant files locally.

Of course, you can also set your packaging format and compression options.

8. Add a resource file package:

Because it is a printing project with a lot of XML templates and some other configuration resources, you need to manually add to the package, as follows:

Select the relevant file and add it.

9. Generate a package, right-click Project, Generate. Build:

Setup.exe is the boot file and setup is the installation file.

VS2017 Winfrom Packaging Setup and tutorials

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.