General information
Category:
Windows API functions
>>>>Hi,
>>>> How could i to extract .CAB file using program instead of automation? Or, any API able to do so?
>>>>
>>>
>>>Commercial products such as the latest version of WinZip can do this. Check the program documentation to see how this would be done.
>>>
>>>The .CAB file format is not natively supported by any of the Microsoft-supplied APIs as far as I know; Microsoft relies on their own installation products to process .CAB files during the instll process.
>>
>>Pls note that in win 98, we can open the cab files by double clicking on it..
>
>The ability to do something under Win98's Explorer Shell does not mean that MS provides you with a public API or automation object to do something. You might consider looking to see what file association is in place for .CAB files under HKEY_CLASSES_ROOT; I suspect that there will be a CLSID association present, and that some specific program is providing your access to at least view the content of the CAB file. It can be done under Win95 or WinNT using QuickView as well through files installed as a part of the unsupported Power Toys extensions (CAB View is one of the components of Power Toys.)
>
>There are plenty of things that can be done under Win9x where no programmatic access is available, so just because you can get to some function in an MS tool is no guarentee that you can add that functionality to your application trivially. You might consider looking in the MSDN documentation for details on how CAB files are processed.
>
>WinZip, which I use, takes over the functionality when it's been installed properly. If you have WinZip installed, you'll probably find that it's handling the task.
Thnks for your detailed reply... Its very informative...
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only