Hello,
Unfortunately i don't have the OS design files for altering the NK.bin and my
only option, I guess, is to replace the hive registry files.
I would like to execute my test app called Hello.exe under WinCE 6 during
start
up. My Hello.exe is sitting under PCMCIA defined as Storage CardHello.EXE.
I added the relevant entries in [HKEY_LOCAL_MACHINEinit] and I specified
"Launch86"="Storage CardHello.EXE" with a DependXX
I also altered the generic and PCMCIA profiles under StoreManager as follows:
[HKEY_LOCAL_MACHINESystemStorageManagerProfiles]
"AutoMount"=dword:1
"AutoPart"=dword:0
"AutoFormat"=dword:0
"MountFlags"=dword:0
"DefaultFileSystem"=""
"PartitionDriver"="mspart.dll"
"Folder"="Mounted Volume"
[HKEY_LOCAL_MACHINESystemStorageManagerProfilesPCMCIA]
"Name"="PCMCIA/Compact Flash Device"
"Folder"="Storage Card"
"DefaultFileSystem"="FATFS"
I'm not sure if I'm missing anything additional in the registry but the device
boots up and the PCMCIA card doesn't seem to be mounted in order to launch my
test application. Below I'm attaching the parts that are relevant with the
mounting sequence of the device. Could you please let me know if I am doing
anything wrong or if I am missing something with the registry.
Thanks in advance
Aris
ATTACHED PART OF REGISTRY:
REGEDIT4
; @CESYSGEN IF FILESYS_FSREGHIVE
; This tag MUST come before all registry settings and HIVE BOOT SECTION tags.
; OUTPUTHIVE
; @CESYSGEN ENDIF
; ======================================== boot.reg
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINEnls]
"DefaultLCID"=dword:409
[HKEY_LOCAL_MACHINEDrivers]
"RootKey"="DriversBuiltIn"
[HKEY_LOCAL_MACHINEDriversBuiltIn]
"Dll"="RegEnum.dll"
[HKEY_LOCAL_MACHINEDriversResourcesIO]
"Identifier"=dword:2
"Minimum"=dword:0
"Space"=dword:10000
"Ranges"="0-0xFFFF"
[HKEY_LOCAL_MACHINESystemEvents]
"SYSTEM/PowerManagerReady"="Power Manager APIs"
"SYSTEM/GweApiSetReady"="Event triggered after GWES registers
its
API sets"
"ReleaseFSD"="ReleaseFSD"
"SYSTEM/BatteryAPIsReady"="Battery Interface APIs"
[HKEY_LOCAL_MACHINESystemStorageManager]
"Dll"="fsdmgr.dll"
"PNPUnloadDelay"=dword:1000
[HKEY_LOCAL_MACHINESystemStorageManagerAutoLoadRelfsd]
"Dll"="relfsd.dll"
"Paging"=dword:0
"LoadFlags"=dword:1
[HKEY_LOCAL_MACHINESystemStorageManagerFATFS]
"FriendlyName"="FAT FileSystem"
"Dll"="fatfsd.dll"
"Flags"=dword:24
"Paging"=dword:1
"EnableCache"=dword:1
"CacheSize"=dword:0
"Util"="fatutil.dll"
[HKEY_LOCAL_MACHINESystemStorageManagerProfiles]
"AutoMount"=dword:1
"AutoPart"=dword:0
"AutoFormat"=dword:0
"MountFlags"=dword:0
"DefaultFileSystem"=""
"PartitionDriver"="mspart.dll"
"Folder"="Mounted Volume"
[HKEY_LOCAL_MACHINESystemStorageManagerPartitionTable]
"01"="FATFS"
"04"="FATFS"
"06"="FATFS"
"07"="NTFS"
"0B"="FATFS"
"0C"="FATFS"
"0E"="FATFS"
"0F"="FATFS"
"20"="BOOT"
"21"="BINFS"
"22"="XIP"
[HKEY_LOCAL_MACHINELoader]
"SystemPath"=multi_sz:"Release"
[HKEY_LOCAL_MACHINEinitBootVars]
"SYSTEMHIVE"="Documents and Settingssystem.hv"
"PROFILEDIR"="Documents and Settings"
"Start DevMgr"=dword:0
; END HIVE BOOT SECTION
; ======================================== default.reg
[HKEY_LOCAL_MACHINEinit]
"Launch10"="shell.exe"
"Launch20"="device.exe"
"Launch30"="gwes.exe"
"Depend30"=hex:14,00
"Launch31"="aersvc.exe"
"Launch6"="Launcher.exe"
"Launch84"="MsgDeliver.EXE"
"Depend84"=hex:14,00,1E,00,05,00
"Launch85"="SystemManager.EXE"
"Depend85"=hex:14,00,1E,00,05,00
"Launch86"="Storage CardHello.EXE"
"Depend86"=hex:14,00
[HKEY_LOCAL_MACHINEinitBootVars]
"SYSTEMHIVE"="Documents and Settingssystem.hv"
"PROFILEDIR"="Documents and Settings"
"Start DevMgr"=dword:0
[HKEY_LOCAL_MACHINEDriversPCMCIAATADisk]
"Dll"="ATADISK.DLL"
"Prefix"="DSK"
"Ioctl"=dword:4
"Profile"="PCMCIA"
"IClass"=multi_sz:"{A32942B7-920C-486b-B0E6-92A702A99B35}",
"{A4E7EDDA-
E575-4252-9D6B-4195D48BB865};"
"ReadWaitDeviceID"="_____________-Memory_Card_Adapter_II-AF9E"
"ReadWaitTime"=dword:64
[HKEY_LOCAL_MACHINESystemStorageManager]
"Dll"="fsdmgr.dll"
"PNPUnloadDelay"=dword:0
[HKEY_LOCAL_MACHINESystemStorageManagerAutoLoadRelfsd]
"Dll"="relfsd.dll"
"Paging"=dword:0
"LoadFlags"=dword:1
[HKEY_LOCAL_MACHINESystemStorageManagerFATFS]
"FriendlyName"="FAT FileSystem"
"Dll"="fatfsd.dll"
"Flags"=dword:2c0044
"Paging"=dword:1
"EnableCache"=dword:0
"CacheSize"=dword:0
"Util"="fatutil.dll"
"MountLabel"=dword:0
[HKEY_LOCAL_MACHINESystemStorageManagerProfiles]
"AutoMount"=dword:1
"AutoPart"=dword:0
"AutoFormat"=dword:0
"MountFlags"=dword:0
"DefaultFileSystem"=""
"PartitionDriver"="mspart.dll"
"Folder"="Mounted Volume"
[HKEY_LOCAL_MACHINESystemStorageManagerProfilesPCMCIA]
"Name"="PCMCIA/Compact Flash Device"
"Folder"="Storage Card"
; ADDED
;"AutoMount"=dword:00000001
;"AutoPart"=dword:00000000
;"AutoFormat"=dword:00000000
;"MountFlags"=dword:00000000
"DefaultFileSystem"="FATFS"
;"PartitionDriverName"="mspart.dll"
[HKEY_LOCAL_MACHINESystemStorageManagerProfilesPCMCIAFATFS]
"EnableCache"=dword:0
"CacheSize"=dword:0
[HKEY_LOCAL_MACHINESystemStorageManagerProfilesCDProfilePartitionTable]
[HKEY_LOCAL_MACHINESystemStorageManagerPartitionTable]
"01"="FATFS"
"04"="FATFS"
"06"="FATFS"
"07"="NTFS"
"0B"="FATFS"
"0C"="FATFS"
"0E"="FATFS"
"0F"="FATFS"
"20"="BOOT"
"21"="BINFS"
"22"="XIP"
[HKEY_LOCAL_MACHINELoader]
"SystemPath"=multi_sz:"Release"
[HKEY_LOCAL_MACHINEExplorerShell Folders]
"Application Data"="Application Data"
"Desktop"="WindowsDesktop"
"Favorites"="WindowsFavorites"
"Fonts"="WindowsFonts"
"My Documents"="My Documents"
"Program Files"="Program Files"
"Programs"="WindowsPrograms"
"Recent"="WindowsRecent"
"StartUp"="WindowsStartUp"
"Windows"="Windows"