Dec 30 2009

File x.inf contains DirIDs, which are not supported

Category: MobileJoel Ivory Johnson @ 09:40
I was compiling a cab for a Windows Mobile install when I came across an unexpected error.
Windows CE CAB Wizard

Error: Line  92 - unsupported DirID 0
Error: File c:\users\joeljo~1\appdata\local\temp\wizb912.inf contains DirIDs, which are not supported

It took a little while to figure out what this means. Searching on the web I found this can happen if you package more than 1000 files in a cab (or more than 262 in some cases). That wasn't the cause of the problem that I was encountering though. It took a little while and I finally figured out what was causing it. One of the registry keys had a typographical error in it. I had typed "%InstallDir" instead of "%InstallDir%". So if you ever encounter this problem remember to double check your registry key names.

Tags: