Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install and deploy Visual Studio2013

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article will explain in detail how to install and deploy Visual Studio2013. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.

Introduction to InstallShield Limited Edition

Since Visual Studio 2012, Microsoft has completely scrapped its original installation and deployment tools and asked people to install and use the third-party packaging tool "InstallShield Limited Edition for Visual Studio". Note that this version is free, as long as you need to register by email, you will have the registration code. In fact, as early as in VS2010, Microsoft put InstallShield Limited Edition for Visual Studio in it, but at that time its own products were still there.

InstallShield Limited Edition provides a simple wizard to create installation packages based on application information; set installation requirements; create application files and shortcuts on the start menu and desktop; and set registry entries. You can also choose to prompt the user to agree to the license agreement.

If you only need these features and do not need to display a custom dialog box during installation, then InstallShield Limited Edition can be a good deployment solution. Otherwise, you will need to install another product, such as the full version of InstallShield (http://www.flexerasoftware.com/products/installshield.htm) or the free Wix toolkit).

If it is not installed on your computer, you need to register and download it for the first time

After successful registration:

Will give you a serial number.

Download, install, and use it to deploy

After restarting VS, I see an extra item

Set up an installation and deployment project and activate

Then enter the serial number, and when you are finished, the following interface is displayed

Then you can follow the flow shown above in the wizard, click the next button, and fill in the information according to the process.

This step is very important, take a look at the following figure:

1) set it to simplified Chinese, otherwise there will be a problem if the installation path is in Chinese

2) set the default installation path (..\ company name\ program name)

3) modify the default font

4) each time you upgrade and repackage, just click "." on the right side of the line. Button, the Code will be regenerated and the old version will be automatically overwritten during installation

Next step

Choose whether your installer has requirements for the operating system and platform

Right-click-attribute (Properties)

Very important:

1) if you have .NET project programs such as DLL and EXE, follow the default settings and do not change them, or you will make mistakes.

2) if you have a DLL that needs to be registered, such as OCX or ActiveX, select "Self-registration"

Next step: set up shortcuts

Next step: registry

Registry configuration:

Installation interview

Installation interface dialog box configuration

Modify installation steps, dialog boxes, background, etc.

After clicking Dialogs, the following step-by-step interface options for the installer appear, which can be selected as needed

At this point, there is only the most important question left: how to package. NET Framework into the program:

1) solution, click "SpecifyApplication Data"-- double-click "Redistributables"-- check "Microsoft .NET Framework 4.0 Full"-- after checking, it will automatically download on the Internet, and the download speed is relatively slow. After that, the right side will become "Installed Locally".

A) .NET 4.0. if you are too slow, download dotNetFx40_Full_x86_x64.exe from the Internet and put it in this path:

C:\ Program Files (x86)\ InstallShield\ 2013LE\ SetupPrerequisites\ Microsoft .net\ 4.0\ Full

This will save a lot of time, but besides this, it needs to download other things, but you can save this part of the time.

B) .NET 3.5SP1: download dotnetfx35.exe and put it in this path:

C:\ Program Files (x86)\ InstallShield\ 2013LE\ SetupPrerequisites\ Microsoft .net\ 3.5 SP1\ Full

Final settings:

1) solution, click "Prepare forRelease"-- double-click "Releases"-- click to select "SingleImage"-- tab click "Setup.exe"-- find "InstallShield Prerequisites Location" and set it to "Extract FromSetup.exe"

After the package is completed, press Ctrl+F5 to run it, and the running effect is as follows:

It is the installation step interface that has just been set up. After the installation is complete, you will see it in the program menu.

1) the packaged program is placed in this place:

Express\ CD_ROM\ DiskImages\ DISK1\ setup.exe

This is the end of the article on "how to install and deploy Visual Studio2013". 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 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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report