Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Creating a .cab file in asp.net c#

Creating a .cab file in asp.net c#

Scheduled Pinned Locked Moved ASP.NET
csharphelpasp-netsysadminquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nicejith
    wrote on last edited by
    #1

    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

    D 1 Reply Last reply
    0
    • N 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

      D Offline
      D Offline
      Dumb Programmer
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups