VisualStudio2010中的Web安装部署 [英] Web-Setup Deployment in VisualStudio2010

查看:88
本文介绍了VisualStudio2010中的Web安装部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我想为Web应用程序创建一个应该具有以下功能的设置:

1.在用户运行该设置时安装SQL Server.(如果未安装SQl Server)
2.询问许可证密钥.
3.如果数据库不存在,请运行数据库脚本.

请逐步告诉我,该怎么做?

hi everyone,
I want to create a set-up for web application which should be capable of :

1.Installing SQL Server when a user will run that set-up.(if SQl Server is not installed)
2.Asks for License key.
3.Running a database script if database is not present.

Please tell me Step-wise, how to do this ?

推荐答案

那根本不是一个快速的问题!您应该已经尝试并提出了具体问题(至少3个!).

不过,看看这些并尝试:
如何在设置项目中添加许可协议 [ ^ ]
创建设置和部署项目的分步过程 [ MSDN:如何:在Windows Installer部署中安装必备组件 [ ^ ]
MSDN:部署(如何在C#中进行部署) [ ^ ]
CP:在Visual Studio安装项目中添加.NET Framework的先决条件 [ ^ ]
创建设置并支持使用VS.NET创建数据库 [在安装.NET应用程序期间创建数据库 [
Thats not a quick question at all! You should have tried and asked specific questions (atleast 3!).

Still, look at these and try out:
How to add Licence agreement in the setup project[^]
Step-by-Step Process of Creating a Setup and Deployment Project[^]
MSDN: How to: Install Prerequisites in Windows Installer Deployment[^]
MSDN: Deployment (How Do I in C#)[^]
CP: Add Prerequisites of .NET Framework in Visual Studio Setup Project[^]
Creating setup With support for database creation Using VS.NET[^]
Create database during installation of a .NET application [^]

Try!


请检查这些链接...

扩展Visual Studio安装项目 [ http://blogs.msdn.com/b/webdevtools/archive/2009/06/05/basic-microsoft-web-deployment-tool-setup-for-visual-studio-2010.aspx [ http://msdn.microsoft.com/en-us/library/wx3b589t.aspx [ ^ ]

http://www.dreamincode.net/forums/topic /231074-setup-and-deployment-in-visual-studio-2010/ [
Please check these links...

Extending Visual Studio Setup Project[^]

http://blogs.msdn.com/b/webdevtools/archive/2009/06/05/basic-microsoft-web-deployment-tool-setup-for-visual-studio-2010.aspx[^]

http://msdn.microsoft.com/en-us/library/wx3b589t.aspx[^]

http://www.dreamincode.net/forums/topic/231074-setup-and-deployment-in-visual-studio-2010/[^]

Hope it helps
Sebastian


用于数据库创建的安装程序类.
Used Installer class for the database creation.


这篇关于VisualStudio2010中的Web安装部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆