baniaczek
21st November 2005, 04:02 AM
I've found, that WM5 supports compressed CABs.
Use CabWiz to make compressed CAB.
Edit file cabwiz.ddf (in the same directory, where cabwiz.exe exists)
modify line ".Set Compress=OFF" to ".Set Compress=ON"
Warning1:
Don't delete original [uncompressed] CABs. Maybe - you will need them in the future.
Warning2:
Compressed CABs are not compatible with WM2003
Warning3:
Don't edit nor don't save them with WinCE CAB Manager from ocpSoftware [up to version 1.1.0.4]. Everything looks OK, but [after save] all files within the CAB are corrupted.
Probably the reason is, that compression aplies only to files, not CAB as a whole. File structure is the same and CAB Manager properly reads all info, but is not able to decompress files.
-----------
If you have only cab and need to compress it:
Open CAB with WinCE CAB Manager
Select from menu: File / Export / ExportToINF
start command line
switch to the directory with INF file
execute "[path]cabwiz xxx.INF /err cabwiz.err /cpu arm" (replace [path]cabwiz with full path do cabwiz.exe, replace xxx.INF with INF file name)
-----------
I you have EXE installer only:
start PC installation
cancel Pocket PC installation
look at subdirectories of C:\Program Files\Microsoft ActiveSync - probably you will find (uncompressed) CABs here.
Use CabWiz to make compressed CAB.
Edit file cabwiz.ddf (in the same directory, where cabwiz.exe exists)
modify line ".Set Compress=OFF" to ".Set Compress=ON"
Warning1:
Don't delete original [uncompressed] CABs. Maybe - you will need them in the future.
Warning2:
Compressed CABs are not compatible with WM2003
Warning3:
Don't edit nor don't save them with WinCE CAB Manager from ocpSoftware [up to version 1.1.0.4]. Everything looks OK, but [after save] all files within the CAB are corrupted.
Probably the reason is, that compression aplies only to files, not CAB as a whole. File structure is the same and CAB Manager properly reads all info, but is not able to decompress files.
-----------
If you have only cab and need to compress it:
Open CAB with WinCE CAB Manager
Select from menu: File / Export / ExportToINF
start command line
switch to the directory with INF file
execute "[path]cabwiz xxx.INF /err cabwiz.err /cpu arm" (replace [path]cabwiz with full path do cabwiz.exe, replace xxx.INF with INF file name)
-----------
I you have EXE installer only:
start PC installation
cancel Pocket PC installation
look at subdirectories of C:\Program Files\Microsoft ActiveSync - probably you will find (uncompressed) CABs here.