PC Review


Reply
Thread Tools Rate Thread

cabwiz compression

 
 
Page Up - XP
Guest
Posts: n/a
 
      24th Nov 2004
Hello,

Is it possible to compress data in cab file?

Regards


 
Reply With Quote
 
 
 
 
Alex Feinman [MVP]
Guest
Posts: n/a
 
      24th Nov 2004
Yes, you can specify in your DDF file
..Set Compress=ON


--
Alex Feinman
---
Visit http://www.opennetcf.org
"Page Up - XP" <Nospam~(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello,
>
> Is it possible to compress data in cab file?
>
> Regards
>



 
Reply With Quote
 
=?Utf-8?B?WmFjaG92aWNo?=
Guest
Posts: n/a
 
      26th Nov 2004
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...


"Alex Feinman [MVP]" wrote:

> Yes, you can specify in your DDF file
> ..Set Compress=ON
>
>
> --
> Alex Feinman
> ---
> Visit http://www.opennetcf.org
> "Page Up - XP" <Nospam~(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hello,
> >
> > Is it possible to compress data in cab file?
> >
> > Regards
> >

>
>
>

 
Reply With Quote
 
Alex Feinman [MVP]
Guest
Posts: n/a
 
      27th Nov 2004
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


--
Alex Feinman
---
Visit http://www.opennetcf.org
"Zachovich" <(E-Mail Removed)> wrote in message
news:9E671EBC-90CB-46E8-8D7F-(E-Mail Removed)...
> 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...
>
>
> "Alex Feinman [MVP]" wrote:
>
>> Yes, you can specify in your DDF file
>> ..Set Compress=ON
>>
>>
>> --
>> Alex Feinman
>> ---
>> Visit http://www.opennetcf.org
>> "Page Up - XP" <Nospam~(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > Hello,
>> >
>> > Is it possible to compress data in cab file?
>> >
>> > Regards
>> >

>>
>>
>>



 
Reply With Quote
 
=?Utf-8?B?WmFjaG92aWNo?=
Guest
Posts: n/a
 
      28th Nov 2004
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!

"Alex Feinman [MVP]" wrote:

> Yes, you can specify in your DDF file
> ..Set Compress=ON
>
>
> --
> Alex Feinman
> ---
> Visit http://www.opennetcf.org
> "Page Up - XP" <Nospam~(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hello,
> >
> > Is it possible to compress data in cab file?
> >
> > Regards
> >

>
>
>

 
Reply With Quote
 
Alex Feinman [MVP]
Guest
Posts: n/a
 
      29th Nov 2004
Good point . Pocket PC does not support compressed cabs. Smartphone does.
See Neil Enns' blog entry here
http://blogs.msdn.com/vsdteam/archiv...15/230083.aspx

--
Alex Feinman
---
Visit http://www.opennetcf.org
"Zachovich" <(E-Mail Removed)> wrote in message
news:EBDD3753-D467-46A4-B00F-(E-Mail Removed)...
> 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!
>
> "Alex Feinman [MVP]" wrote:
>
>> Yes, you can specify in your DDF file
>> ..Set Compress=ON
>>
>>
>> --
>> Alex Feinman
>> ---
>> Visit http://www.opennetcf.org
>> "Page Up - XP" <Nospam~(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > Hello,
>> >
>> > Is it possible to compress data in cab file?
>> >
>> > Regards
>> >

>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is CabWiz redistributable? PGP Microsoft Dot NET Compact Framework 0 2nd Mar 2007 10:53 PM
cabwiz question Rob Blij Microsoft Dot NET Compact Framework 2 1st Feb 2006 06:49 PM
CABWIZ Problems Dave Brown Microsoft Dot NET Compact Framework 0 24th Nov 2005 10:36 AM
CABWIZ error log. Dave Brown Microsoft Dot NET Compact Framework 2 21st Nov 2005 01:37 PM
Help troubleshooting CabWiz.exe failure =?Utf-8?B?dHRyZW50aGFt?= Microsoft Dot NET Compact Framework 11 21st Apr 2005 09:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:09 PM.