How to create Web Deployment Package and install the package
Create Web Deployment Package
To configure settings on the Connection tab
In the Publish method drop-down list, select Web Deploy Package.

In the Package location box, enter the path to where you want the package to be created, including the .zip file name; for example, c:\temp\<projectname>.zip.
As an alternative, you can click the ellipsis to open aSelect Package Location dialog box.
When you select a folder in the Select Package Location dialog box, the package name is set to <projectname>.zip by
default.In the Site/application box enter the name of the IIS site and application that you intend to install the package to. This value can be overridden when you install the package.
If you enter an application name without an IIS web site name, the package is installed in the Default Web Site location (unless you override this value when you install the package).
If the project that you are deploying is an IIS web project, do not specify the same web site and application name as the project's web site. If you do, some of the project files might be overwritten during deployment.
Click Next.
To configure the Package section of the Settings tab
In the Package section of the Settings tab, choose the build configuration to deploy.
You normally deploy a Release build. A Debug build is less efficient and less secure and is typically selected only when you are deploying to a test environment and you want to debug in that environment.

(For the other publish methods there is also a Remove additional files at destination check box on the Settings tab. You specify this option when you install
the package, not when you create it. Therefore, the check box is absent from this tab when you select Web Deploy Package as the publish method.)Configure database settings by using the information in the Configuring Databases in the Settings Tab section in How
to: Deploy a Web Project Using One-Click Publish in Visual Studio.
After you configure the Settings tab, click Publish to create the package at the path you specified on the Connection tab.
(The wizard advances to the Preview tab if you click Next on the Settings tab, but previews are not provided
for deployment packages.)
The Output window reports successful package creation.
Install the package
In order to install a package, Web Deploy must be installed on the destination server. In addition, the version of Web Deploy on the destination server must be compatible with the version on the development computer. (By default, Web Deploy is installed on
the development computer when you install Visual Studio.) For information about how to install IIS 7 and Web Deploy by using the Web Platform Installer, seeMicrosoft
Web Platform Installer on the Microsoft Web site. For information about how to install IIS 7 and Web Deploy individually, see IIS
7 Installation and Deployment and Web Deployment Tool Installation on the Microsoft TechNet Web site.
You can install a package in the following ways:
Use IIS Manager.
IIS 7 must be installed on the destination server, and the package must be created as a .zip file. For more information, see Import
a Package through IIS Manager on the IIS.net Web site.Use the <projectname>.deploy.cmd file that Visual Studio creates with the package.
This file lets you use a simplified command-line syntax to create the much longer and more complex Web Deploy commands that install the package. For more information, see How
to: Install a Deployment Package Using the deploy.cmd File Created by Visual Studio.Use Web Deploy commands directly from the command line or by executing PowerShell commands.
For more information about Web Deploy, see Web Deployment
Tool on the TechNet web site and Web Deploy on the IIS.net web site.
How to create Web Deployment Package and install the package的更多相关文章
- How to install the Package Controller
How to install the Package Controller? https://packagecontrol.io/installation INSTALLATION Use one o ...
- [转]Ubuntu Precise - Install youtube-dl package using Quantal repo
Ubuntu Precise - Install youtube-dl package using Quantal repo Ubuntu Precise 12.04 currently contai ...
- Curses library not found. Please install appropriate package
今天安装mysql-5.5.3-m3的时候,报下面的错误: -- Could NOT find OpenSSL (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_ ...
- Visual Studio® 2010 Web Deployment Projects站点编译生成bin同时发表插件
VS2010环境下: 1.Visual Studio® 2010 Web Deployment Projects下载地址: http://www.microsoft.com/downlo ...
- installation - How to install Synaptic Package Manager? - Ask Ubuntu
installation - How to install Synaptic Package Manager? - Ask Ubuntu How to install Synaptic Package ...
- Java问题解决:使用maven install 和 package时出错
今天在idea中使用maven install 和 package时出现以下问题: [WARNING] The POM for org.apache.maven.plugins:maven-compi ...
- maven package,clean,install,compile命令
1.Ideal中显示 2.各个阶段干嘛的? compile,编译命令,会在项目路径下生成一个target目录,在该目录中包含一个classes文件夹,里面全是生成的class文件及字节码文件 pack ...
- pip install GitHub package
/********************************************************************************* * pip install Git ...
- CMake Error: Curses library not found. Please install appropriate package
编译安装MySQL的时候,出现错误: -- Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH) CMake Err ...
随机推荐
- JSTL标准标签库 (使用foreach打印集合)
<%@page import="java.util.*"%><%@ page language= "java" contentType=&qu ...
- [原创]NIOS小知识总结
本文记录了在使用NIOS中遇到的一些问题和相关的原因分析及解决办法,做个总结方便以后查阅.也希望可以帮到有同样问题的攻城狮.本文长期更新,遇到了就写下. 本人使用软件版本:QuartusII 13.0 ...
- eclipse删除所有空行
在eclipse中删除某一行就用ctrl+D快捷键.如果你想删除一个文件中的所有空行呢. 可以用下面方法. 1.打开源码编辑器 2.使用快捷键Ctrl+f 3.在Find输入框中输入:^\ ...
- Java CopyOnWriteArrayList
1. 为什么需要 CopyOnWriteArrayList ArrayList 的内部实现是一个数组, 并且是动态扩容的, 当插入数据时, 先判断数组是否需要扩容, 如果需要扩容, 则先扩容, 再插入 ...
- zabbix3.0 安装Tips
原文转自:http://www.cnblogs.com/tae44/p/4812190.html#3270843 此处只能留空,否则,提示安装无法进行!!
- 【如何快速的开发一个完整的iOS直播app】(原理篇)
原文转自:袁峥Seemygo 感谢分享.自我学习 目录 [如何快速的开发一个完整的iOS直播app](原理篇) [如何快速的开发一个完整的iOS直播app](播放篇) [如何快速的开发一个完整的 ...
- Qt 程序访问 sqlite 权限错误
在Linux桌面上开发应用,想要拥有root权限,可是又需要弹窗申请.所以尽量避免这种情况发生. 另外:gksu,pkexec可以提供gui的root权限索取功能. 因为db文件是安装的时候放到etc ...
- [php-src]Php扩展的内存泄漏处理思路
内容均以php5.6.14为例. 一. 封装函数时产生 memory leaks. [weichen@localhost www]$ php .php [,] [Tue Jul :: ] Script ...
- PS:缝线颜色随着鞋帮颜色的改变发生改变.files
1.绘制逼真缝线 (1)新建两个图层,并且命名为“针眼”和“缝线”: (2)选择“铅笔”工具,像素为“2”: (3)在针孔图层上进行缝线路径描边,并双击图层,弹出“图层样式”窗口,选择“斜面与浮雕”- ...
- [ MySql学习心得 ] --One
一.安装MySql 1.解压版安装 下载地址: http://dev.mysql.com/downloads/mysql/ 安装及配置教程:http://jingyan.baidu.com/artic ...