All Forums
 Microsoft Windows CE
 General CE
 Manually extracting CAB file contents
 Forum Locked  Topic Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

KnowledgeBase

296 Posts

Posted - 26 Feb 2002 :  16:54:52  Show Profile  Email Poster
Q: Can I extract the files manually from the CAB file?

Sure, but extracting with ActiveSync is easier, more reliable and allows you to determine the registry entries that are set. If you still want to do it, here are some steps to follow:
  1. Unzip the CAB file (WinZIP can do this)

  2. - Extracted files will all have numeric extensions, beginning with .000 and increasing sequentially.
    - File names are 8.3 format, padded with leading zeroes if shorter than 8 characters.
  3. Examine the .000 file. It contains the final file names of the remaining files, listed in sequential order with other binary data.

  4. Rename the extracted files based on the contents of the .000 file, adding spaces, stripping out leading zeroes and changing file names and extentions.

  5. Copy the files to your CE device.

You can write a simple application that will copy the files you will need for your application to onboard flash. For PCMCIA devices, you can use PKUNZIP to unpack the files, change your ADSLOAD.REG file according to the settings in the extracted files, and copy the driver files to the Windows folder of your device. Your device will then recognize the PCMCIA card when inserted.

------------------
ADS Knowledge Base

Edited 28-Jun-2002 by akidder: Add link to ActiveSync extraction, CAB files; add note about registry entries

akidder

1519 Posts

Posted - 28 Jun 2002 :  15:36:07  Show Profile  Email Poster
Sample application ADSCOPY.EXE is an example of how to implement a file loader.

Also, don't forget that many applications and drivers have associated registry entries. The ActiveSync installation method is a good one for determining both the files and registry entries intalled by a CAB folder. Place those entries in ADSLOAD.REG.

-----------------------
Drew Kidder
ADS Technology Transfer
Go to Top of Page
  Topic  
 Forum Locked  Topic Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000