如何用vb.net windows应用程序和sql server创建安装文件 [英] how create setup file with vb.net windows application and sql server

查看:103
本文介绍了如何用vb.net windows应用程序和sql server创建安装文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我是.net应用程序的新手。我用sql server数据库创建了我的vb.net windows应用程序。我想将此应用程序部署到另一台没有.net和sql server安装的电脑上。所以请告诉我一步一步的程序。

hello,
i am new in .net application. I have create my vb.net windows application with sql server database. i want to deploy this application to another pc which not having .net and sql server install.. so please tell me step by step procedure to do it.

推荐答案

如果您有Visual Studio 2010或2012,下载并安装免费的InstallShield Limited Edition。在解决方案中创建一个新项目。在Add New Project对话框中,选择Other Project Types,然后选择Setup and Deployment,然后选择InstallShield Limited Edition Project。将名称Setup1替换为Setup_YourProjectName之类的名称,然后单击确定。完成向导以指定要生成的安装程序的操作。



看起来您可以使用InstallShield Limited Edition的应用程序文件功能将SQL Server数据库的文件放在另一台PC上。



不幸的是,看起来你不能生成一个SETUP.EXE来安装SQL Server,除非你购买升级到完整版的InstallShield 。



如果您不想购买完整版的InstallShield,可以在程序中添加其他代码,让您的程序首先运行SQL Server安装运行的时间。
If you have Visual Studio 2010 or 2012, download and install the free InstallShield Limited Edition. Create a new project in your Solution. In the Add New Project dialog, select "Other Project Types", then select "Setup and Deployment", then select "InstallShield Limited Edition Project". Replace the name "Setup1" with a name something like "Setup_YourProjectName" and Click OK. Go through the wizard to specify the actions of the setup program to be generated.

It looks like you can use the "Application Files" feature of InstallShield Limited Edition to put files for SQL Server database on another PC.

Unfortunately, it doesn''t look like you can generate a SETUP.EXE to do the install of SQL Server unless you buy the upgrade to the full version of InstallShield.

If you don''t want to buy the full version of InstallShield, you could add additional code to your program to have your program run the SQL Server installation the first time it is run.


你应该使用谷歌和MSDN来解决这个简单的问题。



http://msdn.microsoft.com/en-us/library/vstudio/wx3b589t (v = vs.100).aspx [ ^ ]
You should make use of Google and MSDN for simple questions like this.

http://msdn.microsoft.com/en-us/library/vstudio/wx3b589t(v=vs.100).aspx[^]


这篇关于如何用vb.net windows应用程序和sql server创建安装文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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