在客户端系统中安装安装文件 [英] install setup file in client system

查看:100
本文介绍了在客户端系统中安装安装文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用sql数据库创建了一个项目,并且还创建了一个安装文件,我想在客户端系统中安装它。



但是它不起作用!!



我该怎么办?



客户端系统需要什么软件?





问候

AR

解决方案

如果你的设置文件是正确的,然后它应该安装您的应用程序所需的所有文件,外部应用程序除外。后者包括SQL Server本身,原因有很多:



0)出于版权原因,您只能分发SQL Server Express,而不是SQL Server完整版。

1)他们可能已在网络上安装了SQL Server。如果是这样,那么他们可能会想要使用该版本。

2)如果他们确实安装了SQL服务器并且你开始扩散SQL服务器Express实例,那么你将会惹恼数据库管理员...

3)SQl Server的单站点安装比用户控制下的一些分散版本更有可能被备份。

4)对于普通用户来说,安装和管理Sql服务器非常复杂 - 这不是一个好主意!

5)它将破坏使用Sql Server而不是SqlCE或SQLite的主要优势 - 多用户访问。如果每个人都安装了自己的SQL服务器副本,那么您将拥有数据库的多个副本,每个副本由一个人使用。这会引起一些混乱,并且(取决于你如何编写原始数据库)在实现问题时可能需要付出相当大的努力才能组合成单个实例。



因此,为什么您的应用程序无法正常工作有三种主要可能性:

1)本地网络上没有安装用户可以访问的SQL服务器实例

2 )您没有为本地用户SQL服务器实例提供正确的连接字符串

3)您尚未在本地SQL服务器实例中创建数据库。



它们中的哪一个,我们无法从你告诉我们的小事中看出来!


如果你的申请是胜利的话。您需要运行 Windows Installer .Net Framework [根据您的软件配置的版本。]来制作您的应用程序的表单运行

i have created a project using sql database and also created a setup file, i want to install it in client system.

but its not working !!

what can i do??

what are the softwares need in client system ?


Regards
AR

解决方案

If your setup file is correct, then it should install all the files your application needs, except external applications. The latter includes SQL Server itself, for a number 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.

So there are three major possibilities for why your app doesn't work:
1) There is no SQL server instance installed on the local network that the user can access
2) You have not provided a correct connection string for the local user SQL server instance
3) You haven't created the database in the local SQL server instance.

Which of these it is, we cannot tell from the little you have told us!


if your application is in win. forms you need to run Windows Installer And .Net Framework [version according to your software config.] to make your application run.


这篇关于在客户端系统中安装安装文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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