Chris
Chris

Reputation: 27394

Creating a CAB file on WinCE

I want to make a CAB file on a WinCE 5/6 device. The idea is that someone would run a backup script that creates the CAB file, which can then be loaded back onto the device at any point restoring settings to a previously known point.

The settings are xml and custom files in various folders on the device, I am not talking specifically about registry settings.

If this cannot be done is there (commercially) free ZIP file creation software that could be used?

Thankyou in advance Chris

Upvotes: 1

Views: 2147

Answers (2)

Cheeso
Cheeso

Reputation: 192627

DotNetZip is a free zip library that will let you do this.

See also:
zip and unzip files and folders on Mobile Device

Upvotes: 1

Shaihi
Shaihi

Reputation: 3974

Is doing this from the desktop side any good? You can use this registry tool using ActiveSync. The tool has a nice feature of Reg->CAB. Once you want to restore settings, you can clean the registry using OALIoCtlHalGetHiveCleanFlag and then run the CAB to restore the settings.

I know this does not include the requirement:

run a backup script

But it is a quick solution that might give you an idea.

Upvotes: 0

Related Questions