在WinCE上创建CAB文件

发布于 2024-08-11 04:07:51 字数 203 浏览 4 评论 0原文

我想在 WinCE 5/6 设备上制作 CAB 文件。 这个想法是,有人会运行一个备份脚本来创建 CAB 文件,然后可以随时将其加载回设备上,将设置恢复到先前已知的点。

这些设置是设备上各个文件夹中的 xml 和自定义文件,我并不是专门谈论注册表设置。

如果无法做到这一点,是否有可以使用的(商业)免费 ZIP 文件创建软件?

先感谢您 克里斯

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

少女的英雄梦 2024-08-18 04:07:51

DotNetZip 是一个免费的 zip 库,可以让您执行此操作。

另请参阅:
压缩和解压缩移动设备上的文件和文件夹

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

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

薄荷→糖丶微凉 2024-08-18 04:07:51

从桌面端执行此操作有什么好处吗?
您可以通过 ActiveSync 使用此注册表工具。该工具有一个很好的功能:Reg->CAB。一旦您想要恢复设置,您可以使用OALIoCtlHalGetHiveCleanFlag清理注册表,然后运行CAB来恢复设置。

我知道这不包括要求:

运行备份脚本

但这是一个快速的解决方案,可能会给您带来想法。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文