简体   繁体   English

更新桌面应用程序而无需触摸附加的.mdf

[英]Updating a desktop application without touching the attached .mdf

Just a quick question: 只是一个简单的问题:

I'm in the finalizing state of my current C# project, and I'd like to send a version out to people that has 90% of the features initially requested, but it'll be a version of the software that will do all they need - they need the software as soon as possible, basically. 我目前处于当前C#项目的定稿状态,我想向人们发送一个版本,该版本具有最初要求的90%的功能,但是它将是该软件的一个版本,可以完成所有工作需要-他们基本上需要尽快使用该软件。

Therefore I'm going to be using the online install option in VS2008 that will use updating to add the final few features, as well as additional things, later. 因此,我将在VS2008中使用在线安装选项,该选项将在以后使用更新来添加最后的一些功能以及其他功能。 What I'm wondering is the following: 我想知道的是以下内容:

The program will come packaged with a .mdf file. 该程序将与.mdf文件打包在一起。 When I create a new version of the program however, I don't want to change all of the data that has been added to the database already. 但是,当我创建程序的新版本时,我不想更改已经添加到数据库中的所有数据。 My question is how do I go about doing this? 我的问题是我该怎么做?

Thanks! 谢谢!

How are you planning to distribute the update? 您打算如何分发更新? An installer will have flags indicating when a file should be replaced. 安装程序将具有标志,指示何时应替换文件。 (Date, version etc) (日期,版本等)

One-Click installation has the ability to check for changes on program startup. 一键安装能够检查程序启动时的更改。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM