cabwiz compression

  • Thread starter Thread starter Page Up - XP
  • Start date Start date
I'm sorry, I don't understand. What is te DDF file you mentioned? Where can I
find it? Would you please elaborate? ...possibly listing the steps required
to do this, or give a URL to a page that explains...
 
The proper way to invoke makecab is to create a .DDF file and specify it on
the makecab command line

makecab /F myproject.ddf

Sample contents of the myproject.ddf (from Pocket PC SDK)

;
; cabwiz.ddf
;
; Template directive file to create the CAB file
;

..Set Cabinet=ON
..Set Compress=OFF
..Set CabinetFileCountThreshold=0 ; no files per cabinet threshold
..Set FolderFileCountThreshold=0 ; no files per folder threshold
..Set FolderSizeThreshold=0 ; no folder size threshold
..Set MaxCabinetSize=0 ; no max size for the cabinet
..Set MaxDiskFileCount=0
..Set MaxDiskSize=0
..Set ReservePerCabinetSize=0 ; for web signing
..Set ReservePerDataBlockSize=0
..Set ReservePerFolderSize=0
..Set UniqueFiles=OFF

..Set DiskDirectory1=.
..Set DiskLabel1=Setup

;
;.Set InfFileName=
;.Set RptFileName=
;.Set CabinetName1=
;
; followed by the list of files
 
Ok, i found the file, did some experimenting with the "Comperss" option.

I had cabwiz compress my cab files (insallation for Pocket PC application)
but when I tried to install the cab file on a Pocket PC, i got an error. "not
a valid Win32 application. This feature is obviously not designed to be used
on Pocket PC applications.


Just thought I'd correct.... in case "Page Up - XP" intends to use the
compression option for Pocket PC programs, beware!
 
Back
Top