Creating a .cab file in asp.net c#
-
Hi I'm in need of some code segment to create a .cab file in my application. I got one CabLib.dll from one link provided by codeproject itself. But it worked weel in local machine.But it doesn't work in server after uploading. (I read in some article that we can use System.Web.Util class. But it doesn't support the cab creation now. Could anyone please help me to locate some dll's or built in class in .net to solve this problem? Nicejith
-
Hi I'm in need of some code segment to create a .cab file in my application. I got one CabLib.dll from one link provided by codeproject itself. But it worked weel in local machine.But it doesn't work in server after uploading. (I read in some article that we can use System.Web.Util class. But it doesn't support the cab creation now. Could anyone please help me to locate some dll's or built in class in .net to solve this problem? Nicejith
There is a system provided utility makecab.exe (present in c:\windows\system32 folder) which you can invoke with relevant parameters to generate the cab file from your C# application. You can start the process using System.Diagnostic.Process object and use Start method to start the process for using in your code. Let me know if you need any more help in this regard.