使windows mobile CAB 安装文件安装后不丢失的方法

来源:互联网 发布:二级msoffice题库软件 编辑:程序博客网 时间:2024/05/29 03:53

1.将文件属性设置为 只读。 脚本命令 attrib +r *.CAB

2. HKEY_LOCAL_MACHINE/Software/apps/Microsoft Application Installer/nDynamicDelete
= 0 不自动删除;
= 2 默认自动删除

HKEY_CLASSES_ROOT/cabfile/Shell/open/command
=wceload.exe "%1" /nodelete 不自动删除;
=wceload.exe "%1" 默认自动删除

参考 http://www.weste.net/2006/12-22/17283258277.html

原创粉丝点击