Author |
Topic |
|
KnowledgeBase
296 Posts |
Posted - 26 Feb 2002 : 16:54:52
|
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:- Unzip the CAB file (WinZIP can do this)
- 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.
- Examine the .000 file. It contains the final file names of the remaining files, listed in sequential order with other binary data.
- Rename the extracted files based on the contents of the .000 file, adding spaces, stripping out leading zeroes and changing file names and extentions.
- 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
|
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 |
|
|
|
Topic |
|
|
|