Labels: Install and deploy Visual Studio
InstallShield Limited Edition
From Visual Studio 2012, Microsoft startedInstallation and deployment toolsThe installation of the third-party packaging tool "InstallShield limited edition for Visual Studio" is disabled. Note that this version is free and you only need to register it by email, there will be a registration code. In fact, Microsoft put InstallShield limited edition for Visual Studio in vs2010, but at that time their products were still there.
InstallShield limited edition provides a simple wizard that allows you to create installation packages based on application information. You can set installation requirements, create application files, and set the "Start" menu and shortcuts on the desktop; set the registry key. 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, InstallShield limited edition can be used as a good deployment solution. Otherwise, you need to install another product, such as the full version of InstallShield (http://www.flexerasoftware.com/products/installshield.htm) or a free Wix toolkit.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/4D/94/wKiom1RTjbbCn6RcAAKcWO2xpbA434.jpg "style =" float: none; "Title =" image1.png "alt =" wkiom1rtjbbcn6rcaakcwo2xpba434.jpg "/>
If it is not installed on your computer, register it for the first installation. Download
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4D/94/wKioL1RTjhHjLn3iAAMjRvwK6cA247.jpg "style =" float: none; "Title =" image2.png "alt =" wkiol1rtjhhjln3iaamjrvwk6ca247.jpg "/>
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4D/94/wKiom1RTjbfAZ_GuAAT6Q3gGBlQ968.jpg "style =" float: none; "Title =" image3.png "alt =" wkiom1rtjbfaz_guaat6q3ggblq968.jpg "/>
After successful registration:
Will give you a serial number
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4D/94/wKioL1RTjhPi14GkAAMYIfTzhwg568.jpg "style =" float: none; "Title =" image4.png "alt =" wkiol1rtjhpi14gkaamyiftzhwg568.jpg "/>
Download, install, and deploy it.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4D/94/wKiom1RTjbnAgrycAAEUapE0s2M431.jpg "style =" float: none; "Title =" image5.png "alt =" wkiom1rtjbnagrycaaeuape0s2m431.jpg "/>
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/4D/94/wKioL1RTjhSjCBm9AALiscACwtU037.jpg "style =" float: none; "Title =" image6.png "alt =" wkiol1rtjhsjcbm9aaliscacwtu037.jpg "/>
After restarting vs, multiple items are displayed.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/4D/94/wKiom1RTjbqxwuGSAAHmLFOqS1I687.jpg "style =" float: none; "Title =" image7.png "alt =" wkiom1rtjbqxwugsaahmlfoqs1i687.jpg "/>
Create an installation and deployment project and activate
Enter the serial number. The following page is displayed.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4D/94/wKioL1RTjhfjeq3IAAV1F6AKAQ4368.jpg "style =" float: none; "Title =" image9.png "alt =" wkiol1rtjhfjeq3iaav1f6akaq4368.jpg "/>
Then you can follow the process shown in the Wizard, click the next button, and enter information according to the process.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4D/94/wKiom1RTjb7jhn1bAAOIoVoUy3M184.jpg "style =" float: none; "Title =" image10.png "alt =" wkiom1rtjb7jhn1baaoiovouy3m184.jpg "/>
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4D/94/wKioL1RTjhniJQJhAARBedXv_0c204.jpg "style =" float: none; "Title =" image11.png "alt =" wkiol1rtjhnijqjhaarbedxv_0c204.jpg "/>
This step is very important. See:
1) set it to simplified Chinese. Otherwise, the installation path may contain Chinese characters.
2) set the default installation path (.. \ company name \ program name)
3) modify the default font
4) during each upgrade and re-packaging, you only need to click the "..." button on the right of the line to generate the code again. During installation, the old version will be automatically overwritten.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4D/94/wKiom1RTjb7iC_c_AANL9wVaF64225.jpg "style =" float: none; "Title =" image12.png "alt =" wkiom1rtjb7ic_c_aanl9wvaf64225.jpg "/>
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/4D/94/wKioL1RTjhqSd6LFAAMxrhpnNaI753.jpg "style =" float: none; "Title =" image13.png "alt =" wkiol1rtjhqsd6lfaamxrhpnnai753.jpg "/>
Next step
Select whether your installer has requirements for the operating system and platform.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/4D/94/wKiom1RTjb-AZGrGAAG-abPxSK4761.jpg "style =" float: none; "Title =" image14.png "alt =" wKiom1RTjb-AZGrGAAG-abPxSK4761.jpg "/>
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4D/94/wKioL1RTjhvj8Wm4AAJoAK9LPvE488.jpg "style =" float: none; "Title =" image15.png "alt =" wkiol1rtjhvj8wm4aajoak9lpve488.jpg "/>
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4D/94/wKiom1RTjcHRUpoTAAQ00894jBA478.jpg "style =" float: none; "Title =" image16.png "alt =" wkiom1rtjchrupotaaq00894jba478.jpg "/>
Right-click Properties)
Important:
1) if you are using a. Net project DLL or EXE, follow the default settings. Do not change it. Otherwise, an error occurs.
2) if you are a DLL to be registered, such as OCX or ActiveX, select "self-registration"
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4D/94/wKioL1RTjhzSxxuiAAN6mOA7lBk091.jpg "style =" float: none; "Title =" image17.png "alt =" wkiol1rtjhzsxxuiaan6moa7lbk091.jpg "/>
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4D/94/wKiom1RTjcLwMKV2AAGdS_J1Qso654.jpg "style =" float: none; "Title =" image18.png "alt =" wkiom1rtjclwmkv2aagds_j1qso654.jpg "/>
Next step: Set shortcuts
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/4D/94/wKioL1RTjh2SxPGCAAGgm_pPkFA083.jpg "style =" float: none; "Title =" image19.png "alt =" wkiol1rtjh2sxpgcaaggm_ppkfa083.jpg "/>
Next: Registry
Registry Configuration:
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4D/94/wKioL1RTjh3A5x68AAHmC98-KEQ772.jpg "style =" float: none; "Title =" image20.png "alt =" wKioL1RTjh3A5x68AAHmC98-KEQ772.jpg "/>
Installation interview
Installation interface dialog box Configuration
Modify the installation steps, dialog box, and background
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/4D/94/wKiom1RTjcPzfJ9gAAMPBZCxW78387.jpg "style =" float: none; "Title =" image21.png "alt =" wkiom1rtjcpzfj9gaampbzcxw78387.jpg "/>
After you click dialogs, the following installation procedure interface options are displayed. You can select
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4D/94/wKioL1RTjh-jf5T3AAMykrH2MTM071.jpg "style =" float: none; "Title =" image22.png "alt =" wKioL1RTjh-jf5T3AAMykrH2MTM071.jpg "/>
At this point, the most important question remains: how to package. NET Framework into a program:
1) solution, click "specifyapplication data", double-click "redistributables", and select "Microsoft. net Framework 4.0 full "-- when this option is selected, it will automatically download online, and the download speed is relatively slow. After the download is completed, 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
In this way, you can save a lot of time, but it also needs to download other things, but you can save this part of time.
B). Net 3.5 SP1: Download dotnetfx35.exe and put it in this path:
C: \ Program Files (x86) \ InstallShield \ 2013le \ setupprerequisites \ Microsoft. NET \ 3.5 SP1 \ full
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4D/94/wKiom1RTjcSwKjGYAAK4HBSohTg772.jpg "style =" float: none; "Title =" image23.png "alt =" wkiom1rtjcswkjgyaak4hbsohtg772.jpg "/>
Final settings:
1) solution: click "Prepare forreleaseapps--double-click releases”--“"""“singleimage%-- "“setup.exe" -- find "InstallShield prerequisites location" and set it to "extract fromsetup.exe"
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4D/94/wKioL1RTjiCBWJN7AAXCE4S9ABE571.jpg "style =" float: none; "Title =" image24.png "alt =" wkiol1rtjicbwjn7aaxce4s9abe571.jpg "/>
After packaging is complete, press Ctrl + F5 to run. The running effect is as follows:
That is, the installation step interface you just set. After the installation is complete, you will see it in the program menu.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4D/94/wKiom1RTjcWS-IF2AABw35sz4-c061.jpg "style =" float: none; "Title =" image25.png "alt =" wKiom1RTjcWS-IF2AABw35sz4-c061.jpg "/>
1) Put the packaged program in this place:
Express \ cd_rom \ diskimages \ disk1 \ setup.exe
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/4D/94/wKioL1RTjiGzkC4yAAFYRnickK4290.jpg "style =" float: none; "Title =" image26.png "alt =" wkiol1rtjigzkc4yaafyrnickk4290.jpg "/>
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4D/94/wKiom1RTjcbzb3aeAAFIZqfHdos209.jpg "style =" float: none; "Title =" image27.png "alt =" wkiom1rtjcbzb3aeaafizqfhdos209.jpg "/>
This article from "QQ" blog, please be sure to keep this source http://qianqing13579.blog.51cto.com/5255432/1570556
Installation and deployment of visual studio2013