cab

Extract .cab file in C#

戏子无情 提交于 2019-12-04 16:39:32
I am developing a c# application and I a need to extract a cab file. I couldn't find a library that does that in C# ) I cannot use Microsoft.Deployment.Compression.Cab.dll because of a licensing issue. I found this code, but the problem is that when I use it I am able to find and extract only the first file in the cabinet. OutputFileClose is called only if OutputFileOpen returns something either then IntPtr.Zero. but if OutputFileClose is calles, then the enumeration is stopped. So for this code OutputFileClose can be called only for one file Can someone please help me figuring out how to

Managed Extensibility Framework (MEF) vs. Composite UI Application Block (CAB)

北城以北 提交于 2019-12-04 08:18:11
We are currently looking at either using CAB or MEF for our next application. I didn't see any examples on codeplex of how event brokering is handled for sibling control communication, maybe I missed it. How does inter-control communication work in MEF? Also, we are planning on using Infragistics which has provided additional components for the CAB framework. How well will Infragistics controls integrate into MEF? Overall, is MEF worth pursuing for a decently large, 15,000 hours of strictly development, application? I may be wrong but I don't think that MEF has any event brokering. It is a

How to create the inf file for a smart device cab project from command line?

梦想的初衷 提交于 2019-12-03 14:00:45
I am trying to get my continuous integration to create build the smart device cab project from within msbuild on the command line. Everything that I have found says to use the inf file (with cabwiz) created when you build the project from within visual studio. Is there a way to create the inf using the .vddproj file so that I can then use it with cabwiz.exe? Your best bet is either to run devenv.exe (or devenv.com) from the msbuild task, or to steal the INF that Visual Studio generates and use it to run cabwiz.exe from the msbuild task. MVP Discussion: http://social.microsoft.com/Forums/en-US

extract cab file and execute the exe file(inside the cab file) automatically

你说的曾经没有我的故事 提交于 2019-12-02 18:41:51
问题 I have a cab file(w/ an executable file inside) embedded on my webpage. When the user access the page the cab file will be automatically extracted and the executable file inside should be executed as well. Is this possible? My hunch is that this will be configured in my inf file but I don't know how. I would appreciate your help in this. 回答1: You need to use the hook&run values, like in this sample [version] signature="$CHICAGO$" AdvancedINF=2.0 [Add.Code] time.ocx=time.ocx msvcrt.dll=msvcrt

Extract CAB files with PHP

故事扮演 提交于 2019-12-01 23:19:21
Running PHP on IIS6, how can I open and extract the contents of a CAB-file? Is there any way of doing this witout using exec? I don't have permission to run stuff with exec. Without external tools like cabextract this won't work. PHP has no functions for this. This is unfortunately too long as a comment. I wrote a PHP based cab-archive reader a long time ago. Seeing how there is still interest, I put the sources online with the caveat that the project is not pretty, rather limited (no extraction of compressed/stored files) and was not written by a proficient programmer. It may only serve as a

Issue with .cab file (ActiveX) installation on Windows Vista and 7

给你一囗甜甜゛ 提交于 2019-12-01 20:30:47
I have made an ActiveX control and have made its .cab file for automatic installation on client machine using Internet Explorer.. It working fine of Windows XP, but on windows Vista and Windows 7 its installation is blocked by UAC (User account control), and when I disable it, all things works fine... I have signed my .cab file with a certificate for development enviornment... What is the way to over come this problem.. I don't want to tell users to disable their UAC module... Most likely this is because you're trying to register your control in HKEY_LOCAL_MACHINE, which is the default in ATL.

Cannot find Region in RegionManager (using PRISM)

a 夏天 提交于 2019-12-01 18:43:46
I'm writing an application in Prism. I have a user control and contains two <ContentControl> 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 of my views to a region using view discovery and the other I want to inject the view into its region. The view discovery works fine. However when I try and reference the other region to inject the view I get the exception: KeyNotFoundException The region manager does not contain the MyRegion region. When I look in the RegionManagers regions neither

Where can I get the cabarc utility?

心已入冬 提交于 2019-11-30 01:38:06
I'm trying to compile a program which uses cabarc.exe , but I don't have cabarc.exe . The problem is that the Microsoft Cabinet SDK is no longer available so I can't get it from there either. Where can I get this file? P.S. I'm looking for a download from a trusted source such as microsoft.com It appears that the cabarc.exe utility has been replaced with makecab.exe , which comes with Windows [source] . It should be located in: C:\WINDOWS\system32 The cabarc documentation can be found here . The makecab documentation can be found here . cabarc.exe is available as a part of the Windows XP

Deploy a Desktop Shortcut to a Device running Windows CE 4.2 (VS2005)

社会主义新天地 提交于 2019-11-30 00:50:12
I have an application written using VS2005 in C# targeting the Compact Framework 2.0 SP2. As part of the solution, I have CAB deploy project which deploys to the device without a problem. What I can't do is create a shortcut to my application on the devices desktop. I have spent several hours reading various bits of documentation (why is the search at the MSDN site so bad?), followed the instructions but no joy. What I've done is: Add the "Windows Folder" node to the File System Created a folder underneath that named "Desktop" Created a shortcut to the Applications Primary Output and placed

makecab - create a cab file from all the files in a folder

不羁的心 提交于 2019-11-29 23:12:09
I have bunch of files in a directory. I tried following makecab but it does not include all the files in a folder into the cab file. makecab /d "C:\Users\crtorres\Documents\- SouthPacific Project 2014\- Projects\Sales Doc Center\New Region" test.cab The following works but the cab file only has the manifest file. makecab manifest.xml test.cab Nacht I've finally created a script that can actually do this properly (with powershell) It doesn't use WSPBuilder as I'm often contracted out and it's inconvenient to download new software/extra files. This works OOTB. function compress-directory([string