2014年6月6日 星期五

WES2009 LAB -Componentizing an Application as a Custom Shell with Auto logon(2)

How to create a Custom Shell component
WES2009 LAB -Componentizing an Application as a Custom Shell with Auto  logon(1)
http://embedded-easy.blogspot.tw/2014/06/wes2009-lab-componentizing-application.html


Step2 To build a custom shell OS

1New a Configuration file




2Configure the OS environment

  • Turn off the Windows boot logo by checking the “Do not display GUI boot screens” in the Other Settings area of the configuration’s “Settings” node.


  • Add the registry data to disable status message

Key:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system\DisableStatusMessages
Type: REG_DWORD
Value: 1





3Add hardware platform component to answer file

  • Add “Virtual PC 2007 Helper Macro” from Software\Test&Development\ Virtual PC 2007 Helper Macro


4Add component to answer file

  • Add "Automatic Logon" component from Software \System\Security\ Infrastructure\, It requires Username, Password.




  • Add “Windows Logon (Standard)” component from Software\System\Security \Infrastructure, uncheck “Show Friendly Winlogon” and “Show Welcome to windows screen before winlogon”



  • Add “My Test Shell” component(Custom Shell Component)


5Run the Dependency Check to add Dependency component

  • Run the Check Dependency



  • We will get some error. Click first error on Task windows. Select NT loader.




  • Click second error on Task windows, select all.



  • Click third error on Task windows, select all.



  • Click fourth error on Task windows, select English Language Sepport.


  • Re-run the Dependency Check again. There should be no errors.

6.Build the image




Step3 To customize OS
  • Add the boot logo

Edit the Boot.ini File to modify from built image files.
“multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP
Embedded" /fastdetect /bootlogo /noguiboot”





  • Add the logo bitmap(boot.bmp) file to C:\WINDOWS


Step4 To setup OS
1. Copy built image from development PC to Target device.
2. Boot Target device to do FBA.
3. After FBA, Auto logon the Target device and Run AP. 


沒有留言:

張貼留言