Update application and configuration data separately

Good afternoon,

We're designing a new program that'll basically be a framework and run from configuration data - so it'll load the data at startup etc. etc.

The configuration data will most probably be a series of XML files all ZIPped up - certainly we are aiming for a single configuration data file (maybe even encrypted).

We'd like to update the application and configuration data separately. How would we go about this using wyUpdate?

(store configuration data file in separate directory with its own client.wyc file? then somehow change the settings on the auto updater control to check that?)

As the configuration data is loaded by the application we think we'd be able to check for change (update); download the patch & patch it; then load it. All without the program restarting...

We're assuming that we'll be seeing "regular" configuration data updates and "rare" program updates.

Any guidance, advice, hints n tips appreciated (we have previous projects working absolutely fine with autoupdate; but of the whole thing, not parts of it).

Thanks,

Dr. Michael Dye.

Well, the easiest thing to do would to put the config data in a sub folder, have the wyUpdate.exe and client.wyc in that subfolder and have a separate wyBuild project for that config data. This way updates can be done on the config data while your program is running.

Of course you'd have the separate wyBuild project for your main app (and the main app's wyUpdate.exe and client.wyc would be "base directory").

Lastly, if you want to simplify things you can use a single wyUpdate.exe (in the main app's base dir), then pass in the config folder in the -basedir commandline option and the config project's client.wyc file using the -cdata commandline option.