By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,496 Members | 1,280 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,496 IT Pros & Developers. It's quick & easy.

extract cab file with C#

P: n/a
Is there any way to programatically extract a cab file using C#?
--
Bill Larson
May 4 '06 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Hi Bill,

Thanks for your post!

.Net FCL currently did not include the class to handle CAB files, however,
Win32 has Cabinet SDK, which meets your need. We have to use p/invoke to
leverage Cabinet SDK to get this done. Below is the sample article:
"View and Extract CAB File Contents Programmatically"
http://www.thescarms.com/VBasic/CabExplorer.asp

For p/invoke related problem, I think
microsoft.public.dotnet.framework.interop newsgroup is a suitable place.

Thanks

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

May 4 '06 #2

P: n/a

P: n/a
Hello,

I downloaded "cabdotnet1.zip", extracted and opened the project up and was
told that the project is missing two files:

CabCompressor.cs
CabDecompressor.cs

Does anyone have these two files or know of a project that is complete?

--
Bill Larson
"Uncle Sammy" wrote:
Hey Bill,

See this:
http://www.devsource.com/article2/0,1759,1666861,00.asp

~simon

May 4 '06 #4

P: n/a

http://www.devsource.com/article2/0,1759,1731188,00.asp

--
Bill Larson
"Uncle Sammy" wrote:
Hey Bill,

See this:
http://www.devsource.com/article2/0,1759,1666861,00.asp

~simon

May 10 '06 #5

P: n/a
This article explains and shows how to extract a cab file in C#:

http://www.codeproject.com/Purgatory/CabinetFile.asp
--
Bill Larson
"Uncle Sammy" wrote:
Hey Bill,

See this:
http://www.devsource.com/article2/0,1759,1666861,00.asp

~simon

May 16 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.