View Single Post
  #3 (permalink)  
Old 12-04-2007, 03:02 PM
luv2chill's Avatar
luv2chill
Retired Staff
Offline
Location: Lawrence, KS
 
Join Date: Nov 2006
Posts: 1,524
Reputation: 143
luv2chill is keeping up the good workluv2chill is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via ICQ to luv2chill Send a message via AIM to luv2chill Send a message via MSN to luv2chill Send a message via Yahoo to luv2chill Send a message via Skype™ to luv2chill
Using WinCE Cab Manager it's not automatic to go from OEM->CAB, but pretty easy if you understand the component files of an OEM. First you should look at the initflashfiles.txt if it exists. It's most often used to copy shortcuts (.lnk files). But if you see other files in there other than shortcuts then you need to make note of them and where they go, as that will dictate where you tell cab manager to put them. All other files not listed in initflashfiles can just go into \Windows (since that's where the OEM puts them anyway).

For the shortcuts listed in initflashfiles just make a note of where they go--most often it's for just a single shortcut going to \windows\start menu\programs, but sometimes there's also one to \windows\startup and often \windows\help as well (that's for the help file .lnk).

If you see any .provxml files that complicates things. There is a place in WinCE Cab Manager for it but it's been hit or miss.

Anyway, now once you go in WinCE Cab Manager, drag all the files from the OEM (you can and should exclude the rgu, dsm, initflashfiles.txt, option.xml, *.lnk and *.provxml if they exist). Then adjust the paths on the files accordingly (by default in a new cab WinCE Cab Manager will put everything in a subfolder of \Program Files--you should override that to \Windows to make things easier, then adjust individual items for other destinations if needed.

Then you need to import the registry entries, if any. Go to file->Import from REG. Change the file type drop down to all files and locate your rgu file. Double-click to import (it should tell you whether it succeeded or failed).

If there's any provxml open it in notepad, select all, copy it to the clipboard and in the "CAB Information" section of WinCE Cab Manager click on the Pre-XML section and paste it in there. Hopefully it will work. Otherwise you'll have to resort to other methods for XML entries. Fortunately, not many OEMs have .provxml so that won't often occur.

Finally, use the shortcut section of WinCE Cab Manager to create any of the shortcuts you found in initflashfiles.txt. There's a wizard interface for that so it's pretty easy.

Then save the file, copy it to your device and try to run it. If it works, you're all set. If not, then you messed something up--look to make sure all the files are going to where they are supposed to, the registry settings are all there, all shortcuts are accounted for, etc.

Anyway, that's the procedure. Hope it helps.

Last edited by luv2chill; 12-04-2007 at 03:06 PM.
Reply With Quote