Upgrading SQL CE via Clickonce update -
we have moved existing clickonce app development project visual studio 2005 vs 2010. due upgrade issue visual studio 2010, we've had upgrade sql ce database v3.1 v3.5.
to avoid data migration headaches, have been copying user's previous database new installation folder each time clickonce update published. if there db changes, script them app's isfirstrun event handler.
but now, since we've changed database version , deployed sql ce .dll files, means our existing clients end wrong database version.
we have rather large user base, , face problems if require existing users export data, uninstall, reinstall new version.
question: there way upgrade existing database in-place programmatically?
thanks
here 2 articles might find useful. first 1 how include sqlce dll's deployment rather deploying prerequisite; gives total control on version running.
the second article how keep data safe clickonce updates.
Comments
Post a Comment