VS2013 Program Packaging Deployment (diagram), vs2013 deployment
The first thing to illustrate is the difference between the debug mode and release mode under the VS solution configuration. Debug mode is often called debug mode, it contains debugging information, the code is not optimized to facilitate the programmer debugging programs, release mode is often called the release mode, does not contain debugging information, but it is optimized code, so that the program code and run speed are optimal. Therefore, before we release the system, we must ensure that the system does not have a bug, that is, in debug mode can successfully build the solution. The solution configuration transformation is described in the following ways:
Now all we have to do is make sure that the debug mode is OK, not the release mode for the time being.
The next step is the core of our work today, first open the system we've completed, right-click on the solution--add--New project--Install and deploy
I have already downloaded the packaging tool installshield2013limitededition, there is no download only the following gray icon, but it is OK to check the gray point to jump directly to the download page. Once the download is complete and then re-add the installation and deployment is now the interface.
After adding the installation and Deployment program, the following interface appears, at first glance may be a bit messy, but the actual operation is particularly simple.
The first step: the company name and the program name do not need to change the language directly set, change the font
Step two: Add the. NET Framework package, depending on your program
The third step: Add the Program files, now need to open their own program location, see if there are files in the Bin/release path, if not the solution configuration should be changed to release mode and then rebuild the solution. All the files under release are added, and if the program is layered, the contents of the release folder for each layer are added.
Fourth step: Set up a shortcut
Fifth Step: Open the solution under releases, set up Setup.exe, and finally change the solution configuration to Singleimage (build a single image), the program will be packaged after rebuilding the solution.
The packaged program is available under the Setup/express/singleimage/diskimages/disk path and the installation is open. Win7 the. NET Framework is also required if you need to run on XP after the system has been packaged successfully. My own test success, there are shortcomings please criticize correct!
VS2013 Program Packaging Deployment (diagram), vs2013 deployment