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
?
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.