ClickOnce updates

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • andrewschools
    New Member
    • Dec 2007
    • 3

    #1

    ClickOnce updates

    Hi,

    I'm using ClickOnce for all of my installations and updates. However, when I modify any of the datasets in my application, when a user downloads the new update, all their data saved in their particular database is lost. After searching Google, I found a workaround to this. If I exclude the database file from the update, everything is fine, kind of. The problem is, if I exclude the database file from future updates, then if someone tries to install the application while these updates exists on the server, ClickOnce goes right to the latest version during installation and the installation fails because there is no database file within that update.

    Now I do have a separate installation directory and I was under the impression that for every new installation, ClickOnce would first download those files in the installation directory and then check for any updates in the updates directory. If I could only get ClickOnce to install those files located in the installation directory first and then check for updates, everything would work fine. Has anyone else come across this problem and found a solution.

    Thanks,
    Andrew
Working...