软件应用程序最后阶段需要帮助。 [英] Help needed with software application last stage.

查看:47
本文介绍了软件应用程序最后阶段需要帮助。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对软件应用程序的最后阶段感到困惑。

我开发了我的第一个桌面应用程序。



混淆是当我们创建应用程序的安装程序(exe)文件时,数据库是否也包含在设置中?

我的意思是我需要将DB单独提供给客户端还是包含在设置中?

桌面应用程序的数据库通常保存在哪里?



我是初学者,所以请帮助我。

I have a confusion about the last stage of software application.
I have developed my first ever Desktop Application.

Confusion is when we create Setup (exe)file of the app, is the DB also included in the setup?
What I mean is do I need to give DB separately to the client or it is included in setup?
Where do the DBs of Desktop App are generally saved?

I'm beginner, So please help me.

推荐答案

有两种方式

让我们说你使用的是Sql server



1.如果你已经在App.config中设置了连接字符串。

然后你只需要在安装后更改连接字符串。

让我们说你的应用程序是MyApp.exe ;

然后你的配置文件将在MyApp.exe.config中。 。

您可以更改连接字符串以访问Internet或本地服务器上的任何sql server。

使用Install-Shield进行设置时,您还可以添加sql server setup作为先决条件依赖。

因此它将自动安装,

Alos你可以INNO设置一个免费的实用工具

写脚本到进行设置。



2.对于win应用程序,你也可以实现sql server Compact,所以你不需要设置连接字符串。
There are two ways
Lets say you are using Sql server

1.If you have set the connection-string in App.config.
then you just need to change the connection string after installation.
Lets say your app is "MyApp.exe"
then your config file will be in "MyApp.exe.config" .
you can change the connection string to access any sql server on internet or a local server too.
While making setup using Install-Shield you can also add sql server setup as prerequisite dependency.
so it will be installed automatically ,
Alos you can us "INNO setup" a free utiltiy
to write script to make your setup.

2.For win application you can also implement sql server Compact , so you don't need to set connection-string ever.


是否有助于解决您的问题?
did it help to resolve your probelm ?


这篇关于软件应用程序最后阶段需要帮助。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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