File x.inf contains DirIDs, which are not supported

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.


From the Blog Engine Archives

Posts may contain products with affiliate links. When you make purchases using these links, we receive a small commission at no extra cost to you. Thank you for your support.

Mastodon: @j2inet@masto.ai
Instagram: @j2inet
Facebook: @j2inet
YouTube: @j2inet
Telegram: j2inet
Twitter: @j2inet

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.