Cab creation problems

A

Abe Froman

I've searched the Net and newsgroups far and wide and found this
problem discussed many times, but unfortunately none of the
suggestioned solutions have worked for me.

I've had a working .NET CF app which has been updated and redistributed
multiple times. Now all of the sudden, on the same machine and with no
configuation changes made, I cannot create a CAB file. My
CabWiz.PPC.log contains the following, which makes little sense to me:

Warning: Section [DefaultInstall] key "AddReg" - there are no section
entries to process
Warning: Section [DestinationDirs] key "Shortcuts" is not using the
string "%InstallDir%"
Warning: Section [DestinationDirs] key "Files.ARM" is not a valid file
list
Warning: Section [DestinationDirs] key "Files.SH3" is not a valid file
list
Warning: Section [DestinationDirs] key "Files.MIPS" is not a valid file
list
Warning: Section [DestinationDirs] key "Files.X86" is not a valid file
list
Warning: Section [DestinationDirs] key "Files.WCE420X86" is not a valid
file list
Warning: Section [DefaultInstall] key "AddReg" - there are no section
entries to process
Error: CAB file "C:\Documents and Settings\[Username]\My
Documents\Visual Studio
Projects\EquipCertification\EquipCertification\cab\Release\EquipCertification_PPC.ARMV4.CAB"
could not be created

Any advice? I apologize if this topic has already been exhausted. If
so I would appreciate a link.

Thanks in advance.
 
N

Neville Lang

The error seems to be on the last line:

Error: CAB file "C:\Documents and Settings\[Username]\My
Documents\Visual Studio
Projects\EquipCertification\EquipCertification\cab\Release\EquipCertification_PPC.ARMV4.CAB"
could not be created

The items above this error message are usual for my system too. Here are my
thoughts on possibilities:
* The CAB file might already be on your hard disk but marked as read-only.
If this is the case then unmark it.
* The existing CAB on your hard disk is corrupt. If this is the case, delete
it so it can be recreated
* The [Username] might be expanded so that the path and filename combined
exceeds the limit of 255 characters.

I hope some of these thoughts help you.

Regards,
Neville Lang
 
A

Abe Froman

I appreciate the response, Neville, but I don't think any of your
solutions address my problem.

I have completely deleted my \release directory and rebuilt the CAB
files so that VS would recreate the \release directory automatically.
I would think this would suggest your suggestions #1 and #2 are not
applicable. When I replace [Username] with my name to complete the
file path, it still does not come close to the 255 character
limitation. In any case, this complete path is exactly the same as it
was the last time I was able to successfully build the CAB's.

Any other suggestions?

Thank you for the response.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top