|
-
Mar 9th, 2007, 05:57 PM
#1
Thread Starter
Member
[2005] Clickonce not creating .pre directory
I'm trying to distribute an update on CD to various computers. They're all having the same problem during the update. The application data is being overwritten and user settings are lost.
My app uses a SQL database so has the .mdf and .ldf files included with the app and marked automatically as data files. When the app is first installed, the files are copied to the DATA directory as they should.
Now according to Microsoft,
http://msdn2.microsoft.com/en-us/library/d8saf4wy.aspx
when I install an update, the new version gets it's own directory and any files in the previous data directory are copied to the new directory and put into a .pre directory. However the .pre directory is not being created.
I have gotten it to work a couple times just hit and miss and I don't know how or why.
What do I need to do to keep my data and settings preserved, or at least to a .pre directory so I can restore them manually?
Greg
-
Mar 12th, 2007, 07:58 PM
#2
Thread Starter
Member
Re: [2005] Clickonce not creating .pre directory
-bump-
Since nobody has an answer, I want to know why. Surely somebody has an appication that:
1. is deployed with click-once
2. contains an SQL database
3. has updated a previous version of their app
If you have an application like this, does yours update correctly keeping the database from the previous version? At least let me know if somebody's works correctly.
Greg
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|