LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Extract cab file contents

I have a large number of .cab files used in custom application installs. I need to extract a .ini file from each .cab file and then read several specific lines from each .ini file. I have not been able to find way to open and extract the contents of a .cab file with LabView, any ideas? 
0 Kudos
Message 1 of 2
(3,207 Views)


@rythm9 wrote:
I have a large number of .cab files used in custom application installs. I need to extract a .ini file from each .cab file and then read several specific lines from each .ini file. I have not been able to find way to open and extract the contents of a .cab file with LabView, any ideas? 


CAB file is a proprietary file format from Microsoft. LabVIEW does not have any built in functionality to deal with cab files. However you created them somehow apparently so then you should know how to extract something from them too.

The simplest solution is to use the system utility extract.exe. It comes with every Windows install and does know how to deal with CAB files. Check out http://www.modem-help.co.uk/help/cab.html for an explanation of the extract.exe command line. You can call that extract.exe command with System Exec.vi.

Rolf Kalbermatter

Message Edited by rolfk on 10-20-2005 03:41 PM

Rolf Kalbermatter
My Blog
Message 2 of 2
(3,196 Views)