• Post Reply Bookmark Topic Watch Topic
  • New Topic

help on handling cabinet (.cab) file with Java  RSS feed

 
hadzrul hashim
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,

I would like to ask about handling a cab file using Java. I need to extract an existing cab file, put some extra information inside and compress/zip it back to cab file. This cab file will be read by mobile phones (Windows Mobile). Is there any java library that can handle this? I try to use a zip class, but failed. Anyone can help?

FYI, theres a Linux based program that can creates a cabinet (.cab) archive from a set of input files (http://packages.ubuntu.com/feisty/utils/lcab). But I dont know how to integrate this program to my web based system.

Hoping to get an answer..Thanks

Regards,
Hadzrul
 
Renato Vieira
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use the cablib library web page to extract the cab files to folder in your Java application without using MAKECAB.exe or CABARC.exe.

But the .cab file should have a mszip compress format.

Renato dos Santos Vieira
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!