In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to use VS2022 to achieve VC++ packaging to generate installation files, the editor thinks it is very practical, so share it for you to do a reference, I hope you can get something after reading this article.
First: open your project file:
It is important to open the project file you want to publish.
Second: add a new project:
Click solution-> add-> create a new project, as shown in the following figure:
Third: click on the new project
Click on the new project, and the following screen appears, and select according to the interface: * * (* * if you can't find setup, then you need to install the Visual Studio installer Projects component, and install the component to the third. 1; if you find the setup component, go directly to step 4)
Third. 1: install components: as shown below, select "extension"-"manage extensions -" Click to display the third. 2 interface.
Third. 2: install the component interface, search for "Visual Studio installer Projects", select setup and follow the prompts to install the component. Pay special attention to the need to shut down the Vs2022 software during installation. After the installation is complete, please go back to the first step "first" and start over.
Fourth: click next
After naming the project, right-click on the folder Application Folder that appears, in the pop-up screen, select Add, and click Project output. The following interface appears: first, select the main output, click OK; secondly, repeat the previous operation, select the DLL attached to the resource, and click OK. [special note here: during these two operations, the "configuration" option in the following figure must be selected according to the platform of program development. The platform I used in software development is Debug x64, so choose Debug x64 here]
Fifth: create a shortcut to the program:
Create a shortcut to the installer, right-click, create Shortcut, and drag the created Shortcut to "User's Destop" as shown in figure 5.1 and figure 5.2 below:
Sixth: create a start menu entry:
Create a folder for the installer under "start" on the computer's Window platform.
The name of the newly created folder can be changed, and the changed name is reflected in the start menu of the installed computer As shown in the following figure:
Seventh: generate a packaged installer:
Select: build-"rebuild SeaFishNet (my setup project name)
During the generation, the dll file is applied, as shown in the following figure:
Generate the output of the packaged installer:
Eighth: installer:
Locate the seventh generated installation file and copy it to another computer for installation:
On "how to use VS2022 to achieve VC++ packaging to generate installation files" this article is shared here, I hope the above content can be of some help to you, so that you can learn more knowledge, if you think the article is good, please share it out for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.