简体   繁体   English

带有SQL Server数据库的安装文件的应用程序

[英]application with setup file with out SQL Server database

I have a windows application which is uses SQL Server as its database. 我有一个Windows应用程序,它使用SQL Server作为其数据库。 For this application I want to create a setup file for other desktops, but I don't want to install SQL Server on each and every client. 对于这个应用程序,我想为其他桌面创建一个安装文件,但我不想在每个客户端上安装SQL Server。

Can you please suggest how to create Windows application with local storage setup file without installing any databases or framework libraries? 您能否建议如何使用本地存储设置文件创建Windows应用程序而无需安装任何数据库或框架库?

You don't need to install SQL Server on each client - you can simply install it on a central server then all the clients can connect to and use the same instance. 您不需要在每个客户端上安装SQL Server - 您只需将其安装在中央服务器上,然后所有客户端都可以连接并使用相同的实例。

If this is not a good option because each client must have its own storage locally then you can look to use something like SQL Server Compact , which is a very cut down version of SQL Server that doesn't require installation and runs inproc. 如果这不是一个好的选择,因为每个客户端必须在本地拥有自己的存储,那么你可以使用像SQL Server Compact这样的东西,这是一个非常简化的SQL Server版本,不需要安装并运行inproc。

You can use SQL Server Compact . 您可以使用SQL Server Compact The database is stored in a file that you carry with the product rather than requiring a database server. 数据库存储在随产品提供的文件中,而不是需要数据库服务器。

If this is just for "settings" then consider storing it in the user's application data as a simple XML file. 如果这仅用于“设置”,则考虑将其作为简单的XML文件存储在用户的应用程序数据中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在安装exe应用程序中无法连接到本地SQL Server数据库 - Connecting to a local SQL Server database does not work in the setup exe application 从应用程序安装文件静默安装SQL Server - Install SQL Server silently from application setup file 如何制作包含C#应用程序和sql server的安装文件 - How To make setup file that contains C# application and sql server 如何使用InstallShield LE为带有SQL Server 2012本地数据库的Visual Studio 2012 Windows窗体应用程序创建setup.exe文件 - How to create a setup.exe file using InstallShield LE for a Visual Studio 2012 Windows Forms Application with SQL Server 2012 Local Database VS 2010 C#使用SQL Server数据库创建安装文件 - VS 2010 C# Create Setup File with SQL Server database 如何使用SQL Server数据库在Visual Studio 2017中创建安装文件 - How to create setup file in Visual Studio 2017 with SQL Server database 使用 SQL Server 数据库文件在 EXE 设置中转换 ASP 网站 - Converting ASP Website in EXE setup with SQL Server database file 如何在应用程序设置中部署Sql Server数据库? - How can I deploy a Sql Server database as part of an application's setup? 在c#中为数据库设置SQL Server - Setup SQL Server for database made in c# 无法使用SQL Server CE database.file部署应用程序 - Cannot deploy application with SQL Server CE database.file
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM