How to package and deploy winfrom program using VS2012-VS2012 tutorial

Time: 2020-09-10Source: Huajun Software TutorialAuthor: dim sum

Don’t you know how to package and deploy using VS2012? In the following article, the author introduces the operation content of using VS2012 to package and deploy the winfrom program. If you need to learn, please hurry up and learn with the editor.

Select File -- New -- Project -- Other Project Types -- Installation and Deployment

1.jpg

Publish the project for the first time, click OK, and then open the web page. Follow the steps prompted on the installation webpage, click "Go to download website"

2.jpg

Fill in the information as required by the website.

Note that due to the problem of being unable to register because the country drop-down box cannot be selected, just change Baidu browser and reopen it.

1.jpg

Run the InstallShield2013LimitedEdition.exe program as an administrator, click Next and finish.

Note: When installing the software, close VS2012

Re-open VS2012, select File - New - Project - Other Project Types - Installation and Deployment, a box will pop up, select Activate.

Note: If there is no prompt box and the above steps are correct, restart the computer and restart VS and try a few more times.

Activation is successful and you enter the deployment page.

The first step: application information contains: basic configuration, customized filling


Step 2: Select the installation version of the software and choose whether to install the programs associated with the software

For example: Your project is developed on the VS2012 .NET FrameWork4.5 platform, then you must first select yes in the second box, and then select .net FrameWork4.5

1.jpg

Next step to Application Files twice in a row and select 1,2,3,4,5 according to the steps in the picture.

After clicking OK, select the main output and right-click Resolve Project OutPut

2.jpg
1.jpg

Select the left menu, create a new source, then follow the same steps as above, select "add project output" to add the source file, then select the resource, right-click Resolve Project OutPut

1.jpg

Create a shortcut and select a main output.

Note: The Built name is the name for future project releases. If you feel it is inappropriate, you can select the Rename button below to modify it.

1.jpg

The general steps are completed, regenerate the solution.

Find the setup.exe file from the source files of the installation and deployment project, install, and you're done.

1.jpg

The above is the method shared by the editor for packaging and deploying winfrom programs using VS2012. Let’s learn together. I believe it can help some new users.

Related articles更多>>

Popular recommendations