登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

金窝银窝不如自己的草窝

MCP考试通过了!

 
 
 

日志

 
 

WES7没有发送到“桌面快捷方式”的选项  

2017-03-27 17:34:51|  分类: XPE技术资料 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
 

前言

  在做完WES7下32bit之后,客户发现没有发送到桌面快捷方式,也不能做压缩文档,

  这与正常WIN7的使用方式不一致,情况如下

 

WES7没有发送到“桌面快捷方式”的选项 - 老@_@虎 - 金窝银窝不如自己的草窝

 

解决办法如下:

一、开始怀疑组件不齐,按照XPE的开发经验,应该是缺失“sendmail.dll”,用查找功能,查找关键字,发现该文件包含在 win32 application  runtime libraries,核查后发现该文件已经被包含。

二、尝试用模板增加功能,先使用thin client模板,测试后发现增添了一些功能组件,安装完成之后,发现依然没有 发送到 桌面快捷方式。

三、尝试增加application compatiblity 模板,测试后发现增加了很多功能,包括这次客户没有要的音频功能,IIS等,依然没有发现发送到 桌面快捷方式。

四、尝试使用微软提供的Thin PC安装镜像,安装完成之后,发现有 发送到 桌面快捷方式。

五、尝试用IBW方式安装系统,选择application compatiblity 模板,安装完成之后,发现有 发送到 桌面快捷方式。

六、尝试用IBW方式安装系统,选择Thin Client 模板,安装完成之后,发现有 发送到 桌面快捷方式。

七、初步判断ICE工具开发出来的设置有问题,WES7的是正确包含此功能的,而且也无需添加其他功能组件,能有发送到文档,证明这功能是可以的,只是可能在某种设置里给隐藏了。

八、按照以上思路裁剪WES7系统里的embedded的功能,移除EWF、FBWF、RAM filter、keyboard filter、registry filter等。重新安装系统后,依然没有发现 发送到 桌面快捷方式。

九、根据第八条,不是和embedded特殊组件有关系,需要整理配置,在product目录下移除所有配置,然后添加thin client模板,发现有发送到 桌面快捷方式。

十、现在就确定和系统的配置有关系,先排除OOBE下的用户设置,全部恢复默认值后,重新安装系统后,依然没有发现 发送到 桌面快捷方式。

十一、依次排除功能组件,除PE设置和添加驱动外只有shell-setup_X86 下copyprofile 值为true 和PnPSysprep_X86中PersistentAllDeviceInstall 值为true

把这两个改为默认值后,重新安装系统后,发现有 发送到 桌面快捷方式。

十二、进一步明确测试后,只有shell-setup_X86 下copyprofile 值为true这个组件的设置有问题。

十三、重新安装系统完成之后,发现有 发送到 桌面快捷方式。如下图

      
        WES7没有发送到“桌面快捷方式”的选项 - 老@_@虎 - 金窝银窝不如自己的草窝
 

问题原因

根据MSDN的解释如下

Use the following steps to use CopyProfile to set customized user profiles:

1.       Log on as a user whose profile you can customize (for example, the built-in-administrator account).

2.       Customize the desired user profile settings.

3.       Set CopyProfile to true in the Unattend.xml file that you will use with Sysprep in the next step.

4.       Run sysprep /generalize /unattend:unattend.xml to copy the customized user profile settings over the default user profile.

All subsequent user accounts that are created will have the customizations that you have set. For details about Sysprep, see the Sysprep Technical Reference in the
 Windows OEM Preinstallation Kit (Windows OPK) User's Guide. (Opk.chm).

This setting does not copy the built-in administrator profile unless the built-in administrator is the currently logged-on user.

按照正常的业务逻辑,应该是安装完并且调试系统后,再次封装的时候才做CopyProfile 配置,因此修改应答文件,把<CopyProfile>false</CopyProfile> 改为true

<component name="Microsoft-Windows-Shell-Setup" xxxxxx">

   <CopyProfile>true</CopyProfile>

</component>

修改此文件后,运行如下命令重新封装

sysprep.exe /generalize /oobe /shutdown /unattend:g:AutoUnattend.xml

 

备注:xml中有CopyProfile在封装之后可以保留桌面图片,所以改账户下的设定等等。

 
 

 

  评论这张
 
阅读(341)| 评论(0)

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018