I was developing a few themes for Standard and Professional devices (using the Windows Phone Custom Theme Generator tool to get me started) and found that when installing the CAB on Standard devices, I would get the following error:
Normally to fix this error, you would edit the .INF file and add BuildMax=0xE0000000 to the CEDevice section as follows (See here for explanation of BuildMax):
[CEDevice]VersionMin = 3.0VersionMax = 100.0BuildMax=0xE0000000
In this case, I did not have an .INF file since the CAB was generated by the Theme Generator. Doing a Bing search, I found a great tool (Benoit Thonnart's MSCEInf) that helps with the process of creating a .INF file from a CAB file and extracting files from the CAB with the true filenames. Using this tool, I created the .INF file, edited it, and then recreated the CAB file using the .INF file and CABWIZ.EXE. MSCEinf’s feature of extracting the true filename saves a lot of time, saving you the drudgery of renaming the files, as specified in the _setup.xml file, by hand. (When CABWIZ creates the CAB, it converts the filenames to 8.3 names).
Step-by-Step guide:
Thanks,
Mike
Page rendered at Friday, September 03, 2010 5:53:01 PM UTC
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way. All sample code is provided AS IS without warranty of any kind.