在Visual Studio 2008中配置安装和部署安装程序 [英] Configuring installer of setup and Deployment in visual studio 2008

查看:136
本文介绍了在Visual Studio 2008中配置安装和部署安装程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以共享安装脚本吗?及其在Visual Studio 2008中的安装项目中使用它的方法.

我将C#.Net与SQL Server 2005一起使用,已完成安装程序(我的安装程序检测并安装了SqlServer 2005 Express Edition,dotnet框架和Windows Installer 3.1),但是在项目运行时它说找不到SQL Server.

现在,我认为我需要一个安装程序脚本来将我的数据库文件附加到客户端计算机上的sql服务器.

我被困在这里,需要紧急帮助.

Can anyone share the installer script ? and the method to use it with the setup project in Visual studio 2008.

I am using C#.Net with SQL Server 2005, i have done with setup(My setup detects and install SqlServer 2005 Express Edition, dotnet framework and windows Installer 3.1) but when project runs it says that it cannot find the SQL Server.

Now i think that i need a installer script to attach my db file to the sql server to client PCs.

I am stuck here and need urgent help.

推荐答案

添加新的 ^ ]类添加到您的项目,并在那里进行所需的操作.

然后添加所需的自定义操作 [
Add a new Installer[^] class to your project and make the operations you need there.

Then add the required custom actions [^]to your setup project, build and test.


感谢Erik的快速响应,这个安装程序类对我来说是未知的,我必须对其进行一些研究以实现它,

我认为它将解决我的问题.
Thanks Erik for you quick response, this installer class was unknown to me , i have to study it a bit in order to implement it ,

i think it will solve my problem.


这篇关于在Visual Studio 2008中配置安装和部署安装程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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