I want to generate a .cab
File
How can I do it?
I am developing in C# (visual studio 2008, .NET Framework 3.5) I can ganerate the .exe
file, but how can I generate the .cab
?
Microsoft has example C++ code to generate a .CAB file at https://msdn.microsoft.com/en-us/library/ff797926(v=vs.85).aspx . This sample uses Win32 Cabinet API functions (FCICreate, FCIAddFile, etc)...you can P/Invoke from C# to call these same APIs.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.