在vb.net 2008中创建安装文件 [英] create setup file in vb.net 2008

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

问题描述

朋友你好!

如何在vb.net 2008中创建安装文件作为前端,并在sql Server 2000中创建后端.
如何创建安装文件,如果将安装文件安装在一台PC上,则该安装文件将不会在另一台PC上运行.表示一个文件安装在一台PC上,则该副本将不会安装在另一台PC上.

是否需要在客户端PC上安装sql server.
在客户端PC上未安装sql server的情况下,应如何使用sql的内置功能.<​​br/>
是否需要将数据库还原到客户端PC才能在客户端PC上运行程序.
或没有安装数据库,是否可以运行这样的程序.


简而言之,我想逐步了解如何在vb.net 2008中创建一个安装文件,并想创建这样的安装文件,如果我通过邮件发送给任何人,那么他可以轻松地安装副本.

我创建了一个桌面应用程序,其前端为vb.net 2008,后端为sql server2000.

因此,请任何人在此解决方案中帮助我.

解决方案

您不应在安装中包括SQL Server.有两个原因:
0)您只能出于版权原因分发SQL Server Express-不能分发SQL Server完整版.
1)他们可能已经在网络上安装了SQL Server.如果是这样,那么他们大概会想使用该版本.
2)如果他们确实安装了SQL Server,并且您开始激增SQL Server Express实例,那么您将烦恼数据库管理员...
3)与在用户控制下的多个分散版本相比,备份SQl Server的单个站点的可能性要大得多.
4)对于普通"用户来说,安装和管理Sql Server非常复杂-这不是一个好主意!
5)它将破坏使用SqlServer而不是SqlCE或SQLite的主要优势-多用户访问.如果每个人都安装了自己的SQL Server副本,那么您将拥有数据库的多个副本,每个副本都由一个人使用.这会引起一些混乱,并且(取决于您编写原始数据库的方式)可能会花费一些精力才能在遇到问题后将其合并到一个实例中.


亲爱的开发人员
1.不要在每台客户端计算机上安装SQL.在任何中央计算机上安装SQLServer称为数据库服务器
使用连接字符串访问该SQL Server.
2.或者如OriginalGriff所说,您可以在每台计算机上安装SQL Server Express.
3. 分步指南以创建安装程序项目. [ ^ ]

Hello Friends !!

How to create setup file in vb.net 2008 as front end and sql server 2000 as back end.
How to create setup file which if install on one pc , then that setup file will not run on another pc. means one file install on one pc then that copy will not be install on other pc.

Is it require to install sql server on client pc.
with out installing sql server on client pc how should i use the in-built facility of sql.

Is it require to restore the database to client pc to run program on client pc.
or with out installing database , is it possible to run such program.


in short i want to know step by step procedure how to create a setup file in vb.net 2008 and want to create such setup file , which if i send to anyone through mail then he can easily install the copy.

I have created an desktop application with vb.net 2008 as front end and sql server 2000 as back end.

So please if anyone can help me in this solution.

解决方案

You should not include SQL Server in your installation. There are a couple of reasons:
0) You can only distribute SQL Server Express for copyright reasons - not SQL Server full version.
1) They may already have SQL Server installed on the network. If so, then they will presumably want to use that version.
2) If they do have SQL server installed and you start proliferating SQL server Express instances, you are going to annoy the heck out of the database administrator...
3) A single site installation of SQl Server is a lot more likely to be backed up than a number of scattered version under user control.
4) Sql server is quite complex for a "normal" user to install and administer - it is not a good idea!
5) It will destroy the primary advantage of using Sql Server over SqlCE or SQLite - multiuser access. If everyone installs their own copy of SQL server, then you will have multiple copies of your database, each used by a single person. This will cause some confusion, and (depending on how you wrote the original database) may take some considerable effort to combine into a single instance when the problem is realized.


Dear developer
1. Do not install SQL on each client machine. Install SQLServer on any central machine call it as database server
access that SQL server using connection string.
2. Or as OriginalGriff said you can install SQL Server Express on each machine.
3. Step by step guide to create Setup project.[^]


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

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