Vs2017 installation package plug-in graphic tutorial

Time:2020-10-24

install

Open vs2017:Tools > expand and update > go online and search for Microsoft Visual Studio 2017 installer projects, as shown in the following figure:

Enter: Microsoft Visual Studio 2017 installer projects in the search, and the search results are as follows:

downloadMicrosoft Visual Studio 2017 installer projects, as shown below:

According to the prompt, close all vs windows and install them automatically, as shown in the following figure:

Select [modify]

installation is complete

Look at the installation log to understand the installation process, as shown in the following figure:

New project

Install it. Open vs2017 and start a new installation project under the solution to be installed, as shown in the following figure:

Click New – Project – installed – template – other project types – Visual Studio installer, as shown in the following figure:

Select [setup project], as shown in the following figure:

Add the entry file, output the project, and select the solution point add, as shown in the figure

The project output window will pop up, as shown in the following figure:

Create a shortcut and right-click the main output, as shown in the following figure:

Rename the shortcut, as shown in the following figure:

Drag the shortcut to user’s desktop, as shown in the following figure:

In the user’s programs menu, add a folder (your project name) — > double click the selected folder, right-click on the right, create a new shortcut, select application folder, main output XXX, and confirm, as shown in the following figure:

Click OK

Finally, it is generated, as shown in the following figure:

Pay attention to the. Net framework. Let’s pay attention to the error message

This information tells us that the currently packaged. Net framework is 4.6.1. It does not match the application to be packaged. The. Net framework we want to package is 4.5.2, as shown in the following figure:

So we modified the. Net framework as follows

Right click package solution – properties, as shown in the following figure:

Select the precondition, as shown in the following figure:

Open it as shown in the figure below. You can see the wrong frame just now

We changed it to be the same as the package. Framework. Take a look at the. Net framework for the project you want to package. As shown in the figure below

OK, and regenerate it again at the same time

The above vs2017 installation package plug-in graphic tutorial is the small editor to share all the content, I hope to give you a reference, also hope that you can support developeppaer.