Questions tagged [cab]

cab is the file extension for the Cabinet archive format used in Microsoft Windows.

297 questions
5
votes
2 answers

C#/.NET: Creating a CAB and adding files to it without an external library

I'm aware there is a similar question but the marked answer provides a link to an external library which requires several dependencies to be installed on the user's machine. I don't need extraction or anything else fancy like listing files - I only…
Andy E
  • 338,112
  • 86
  • 474
  • 445
5
votes
2 answers

SmartDevice CAB "is not a valid Windows CE Setup file"

(This can be considered a follow-up on my question here.) After successfully building a CAB setup file for my handheld WCE5 device, (a Datalogic Memor laserscanner) I went on to try and install it. However, upon starting the CAB, the device throws…
user2244255
5
votes
2 answers

Using MakeCab.exe & .ddf file (i.e. using directive file) how to specify destination cab filename?

I have decided to use makecab.exe for my requirement to create cab files in my application. http://msdn.microsoft.com/en-us/library/bb417343.aspx#microsoftmakecabusersguide And I need to store files as per given path whether relative or absolute…
Vishwanath Kamath
  • 340
  • 2
  • 3
  • 14
5
votes
1 answer

ActiveX not working on client machine

I'm trying to run activex control for a simple hello world message box. First i created the class library and i have now the dll , then i created the HTML page and called the activeX control : …
Nader El Masry
  • 433
  • 1
  • 6
  • 11
4
votes
3 answers

Which WinForms CompositeUI framework to choose?

my team is minutes before developing the head application for our company and we ran into roadblock in our design. my team develops WinForms application in C#, .NET 3.5. The first thing we need to do in our design is to decide which CompositeUI…
Dizzy
  • 41
  • 1
  • 2
4
votes
4 answers

editing pre-existing cab files/installer files

I'm currently trying to make a download/install file for a CD, and I've never done this or written any type of coding before so I'm somewhat at a loss. When we last created an installer package (I wasn't employed yet) we used InstalShield, but that…
Renoto
  • 175
  • 3
  • 4
  • 11
4
votes
3 answers

How to extract files from .CAB file using C#.Net?

I have a CAB file generated from CABARC.EXE. I need to extract the file using ASP.Net C#.Net. How to do it in C#.net itself? I don't want to use the same CABARC.EXE for extraction. Because we don't use this tool in production environment. Please…
Ganesh
  • 126
  • 2
  • 12
4
votes
2 answers

Simple example to add files to CAB archive

I read this post about replacement of CABARC utility. Microsoft help is covering a lot of options in here. I need simple example how to add 2 files to CAB using makecab.exe utility. Something like this. makeCAB.exe file1.dll file2.INF result.cab
yW0K5o
  • 913
  • 1
  • 17
  • 32
4
votes
1 answer

Powershell script to extract Cab file contents and move files to new locations

I've been given 14K CAB files each containing 200 files which need to be unzipped into their original locations. Unfortunately it's not as easy as all of them being extracted to the same location :-( I've decided to use PowerShell and have generated…
user3745479
  • 41
  • 1
  • 1
  • 2
4
votes
3 answers

SmartDevice CAB project CAB file could not be created

I am creating CAB file for SmartDevice Project(built for Windows Mobile 6) I am getting following error Error: CAB file "C:\SmartDevice2\Debug\SmartDeviceCab2.CAB" could not be created ERROR: The Windows CE CAB Wizard encountered an error. See…
Harsh
  • 368
  • 3
  • 19
4
votes
1 answer

Cannot find Region in RegionManager (using PRISM)

I'm writing an application in Prism. I have a user control and contains two controls. These both have Regions assigned to them. The usercontrol is being hosted in a Window that is being shown using ShowDialog(). I'm adding the one…
Jon Mitchell
  • 3,349
  • 5
  • 27
  • 37
4
votes
1 answer

Can anyone tell me what is wrong with this .INF file?

I've been stuck on this all day, and have just run out of ideas. I'm trying to run an installer from a CAB file initiated on a web page. I built a cab file that includes an installer (BlowbackInstaller.msi) and an inf file (see below). The…
JohnFx
  • 34,542
  • 18
  • 104
  • 162
4
votes
3 answers

How to decompress MSZIP files with c#?

I have an installer for VB6 application and I need to decompress the files individually with c#. All files end with an underscore, eg image.jp_. I saw with 7ZIP program that files are compressed with MSZIP compression mode, but I can not…
andres descalzo
  • 14,887
  • 13
  • 64
  • 115
4
votes
1 answer

Error 1334 .File cannot be found in the Data1.cab

I am working on a Win 7-64 bit machine. I have a software installation package which contains the .msi file, a CAB file and some MST files. I wanted to modify the cabinet file. So I extracted the cab file using CABARC utility. But before making any…
rsKRISH
  • 371
  • 1
  • 7
  • 19
4
votes
4 answers

Unpack cab file in memory

I am uploading a cab file from a web form, and want to unpack it in memory. I've tried tackling the issue with a CabInfo file, but without success. I do know how to unpack a cab file to my local disk, but do not know how to apply this in memory. Any…
Adam_G
  • 7,337
  • 20
  • 86
  • 148
1
2
3
19 20