Hi,
We use a loader program to do the updates on our VFP app, and because we use Inno as our installer we have run into problems when the client for what ever reason restores to a previous snapshot especially if there have been several updates to our app in the mean time.
After a bit of digging I have found that the following keys can control what happens during a system restore.
There are two keys that stop system restore from backing up or restoring the MBS files.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BackupRestore\FilesNotToBackup
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BackupRestore\FilesNotToSnapshot
The first one what not to backup\restore and the second tells VSS not to snapshot those files.
Just create a Multi-String key under each of the above and in Value data just enter c:\YourAppDirectory\* /s
Also you can add other entries on a separate line i.e.
c:\YourAppDirectory\* /s
c:\YourOtherAppDirectory\* /s
etc
The /s will recurse all the subdirectories.
Hope this helps
Regards N Mc Donald