The following tools need to be installed (in this order):
- Visual Studio 2008 Professional ENU
- Visual Studio 2008 Professional SP1
- Windows Compact 7 : Be sure to check Platform Builder option ! Don't install the binaries for all hardware architecture. Instead, pick ARMv7 only.
Note: You need to a valid license ! If this is the first use, you can register on Microsoft Windows Embedded Compact 7 web page and get a 180 days demo license.
OS Customization tools
AutoLaunch4ce
Install Autolaunch v310 (also available in the network directory or downloadable here).Add to your OS Design from Catalog View, in Third Party->Embedded101->Check all checkboxes but CoreCon. It seems that when started from the AutoLaunch, the deployment speed slows down significantly.
AutoLaunch is a an executable that will start automatically at boot. It will look in registry for executables to run at OS startup.
The following lines will be automatically added to your OS image to start CoreCon and remote display (cerdisp) automatically at startup:
[HKEY_LOCAL_MACHINE\Startup] "Process0"="ConmanClient2.exe" "Process0Delay"=dword:1388 "Process1"="cerdisp -c" "Process1Delay"=dword:2710
The startup delay can be modified to any value (0 included).
If other applications need to be started at boot, simply add them like that:
[HKEY_LOCAL_MACHINE\Startup] "Process2"="App_01.exe" "Process2Delay"=dword:3A98 "Process3"="App_02.exe" "Process3Delay"=dword:4E20
Note: Process0 and Process1 are reserved to CoreCon and remote display. Do not use them for other applications.
Known Issue: If you are running under a french operating system, the postlink.bat script located in autolaunch project will not complete due to a path issue. You will end with a missing file (DeviceAgentTransport.dll in my case) in the global output result.
To resolve this issue, replace
"%Program Files%/Common files"string with
%COMMONPROGRAMFILES%in postlink.bat. If you program files directory is named
"Program Files (X86)", use this replacement string instead:
%COMMONPROGRAMFILES(x86)%. Re-launch the build.
Hi Cem,
ReplyDeleteWhen you said "from Catalog View", you mean from "Catalog Item View" or from "Catalog Editor"?
Anyway, at this step we haven't yet our own project, so when you talk about "OS Design", are you talking about a cloned BSP or about a new OS Design project that we have to create in order to add features?