如何在visual studio 20010中创建Windows安装文件 [英] how to create windows setup file in visual studio 20010

查看:82
本文介绍了如何在visual studio 20010中创建Windows安装文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



i我是.net技术的新手我开发了一个带有sql server数据库的windows应用程序

当我创建设置并在应用程序文件夹中添加数据库然后有一个消息来了这个文件是由其他应用程序访问但它不是

请告诉我使用数据库创建安装文件的正确程序,包括所有步骤......

解决方案

您需要创建一个创建/部署数据库以及应用程序安装的设置。



看看这些:

创建设置支持使用VS.NET创建数据库 [ ^ ]

在安装.NET应用程序期间创建数据库 [ ^ ]

部署应用程序和数据库 [ ^ ]



这里,请参考: MSDN:添加自定义先决条件 [ ^ ]



另外,看看答案给出了类似的问题这里 [ ^ ]。


参见..

http://stackoverflow.com/questions/16232109 / how-to-make-setup-file-that-c​​ontains-c-sharp-application-and-sql-server [ ^ ]

C#如何在Windows窗体应用程序中创建安装文件使用sql数据库并在其他桌面上运行 [ ^ ]

http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/5808f536-f48d-4869-adf2-13b876984ae9 [ ^ ]

Hi
i am new in .net technology i have developed a windows application with sql server database
when i am creating setup and add database in application folder then there is a message comes this file is accessing by other application but it is not
please tell me right procedure for creating setup file with database including all steps ......

解决方案

You would need to create a setup that creates/deploy database along with your application install.

Have a look at these:
Creating setup With support for database creation Using VS.NET[^]
Create database during installation of a .NET application [^]
Deploy your Application and Database[^]

Here, refer: MSDN: Adding Custom Prerequisites[^]

Also, look at the answers given for the similar question asked here[^].


See..
http://stackoverflow.com/questions/16232109/how-to-make-setup-file-that-contains-c-sharp-application-and-sql-server[^]
C# how to create setup file in windows form application with sql databas and run on other desktop[^]
http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/5808f536-f48d-4869-adf2-13b876984ae9[^]


这篇关于如何在visual studio 20010中创建Windows安装文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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