CAB Wizard Error When Registry Binary Value is Large
Hi,
In my CAB project in Registry View, I added some registry entries for my application. Everything compiles without any problems until I try to add a new binary value with 2.3KB (that's the size of a text file with hex representation of the value) of data. In such a case, I'm getting an error like the one below:
Windows CE CAB Wizard
?Error: File c:\docume~1\arturm\locals~1\temp\wiz36f.inf contains DirIDs, which are not supported
ERROR: The Windows CE CAB Wizard encountered an error. See the output window for more information.
wiz36f.inf file does not exist in the specified localization and the message is taken from the output window! If I would just put less data in the key, I would get a warning in CabWiz.log file like 'registry value "AAA" contains 252 bytes of data - please verify.'
I think that the fact that putting some more data in the registry key causes the cab wizard's failure could be a bug. Nevertheless, could you tell me what is the preffered method of creating large binary entries in the registry during installation?
Thanks
Artur
[1166 byte] By [
arturm] at [2007-12-23]
I'm not totally convinced that the problem lies with the size of the binary value. It _may_ have to do with the file associations. This forum question http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=14376&SiteID=1 also has a similar problem. Can you please verify with the file association steps present in the last post?
Otherwise, can you please mail me the CAB file (at aarthir AT microsoft DOT COM) so that I can look into it?
This problem doesn't seem to be the same like the one from the other forum question. I've prepared a test CAB project with only one registry entry (binary value). When the value is short, the project compiles without any problems. It's enough to put some more data to the entry to have this error: "ERROR: The Windows CE CAB Wizard encountered an error. See the output window for more information.". What is interesting, when I put even more data in the key, the error just presented appears and additionaly this: "?Error: File c:\docume~1\arturm\locals~1\temp\wiz36f.inf contains DirIDs, which are not supported." is displayed.
I sent the example project and description of the issue to aarthir as requested.
If anybody is experiencing the same problem, check the response I got from Aarthi via email.
"Hi,
This looks like a bug in the CAB Wizard. We have filed a bug and will take it up for the next version of Visual Studio. I’m afraid there isn’t any work-around for this issue, though I’ll confirm this or mail you the work-around in a day.
Thanks,
Aarthi"