Kishan Gajjar
Kishan Gajjar

Reputation: 1138

Need help in application update

I am developing an application in SQL Server using C#.

My database version is SQL Server 2005 Express edition, and .Net framework 2.0.

I want to make an updatable application.

e.g. whenever I do some changes in my application, then it should be available to update in all locations (like update in Mozilla Firefox).

But I also want that if I change some columns/stored procedures of the database, then those changes should be also updatable.

Please guide me how can I make that kind of setup.

Upvotes: 1

Views: 136

Answers (2)

Cosmin
Cosmin

Reputation: 21436

First you need to decide on a setup tool which will create an EXE or MSI installer for your application. Perhaps this list will help: http://en.wikipedia.org/wiki/List_of_installation_software

After that, you can integrate an updater application into that installer. Here is a post with more details: What is the best way to auto update a windows application?

An installer takes care of the distribution and the updater takes care of your application updates.

Upvotes: 0

Slime recipe
Slime recipe

Reputation: 2283

Do you have any server or network share where you can distribute your application from? If so, then you should take a look at ClickOnce which is available in any version of visual studio. it will automatically update the client each time you publish a new version. http://msdn.microsoft.com/en-us/library/t71a733d%28v=vs.80%29.aspx

As for the SQL updates, I'm not sure what you're asking for? if you use one database for many clients, then the only thing you will have to update is the client code which works with the database. in which case you will do the same thing as with any client update.

If you're having multiple instances of the database, you'll have to update each of them manually. You'll really want to keep track of each change you've made or use a comparsion tool for that. I'm using Red Gate SQL Compare, but I assume that there are also free tools.

Upvotes: 1

Related Questions