PC Review


Reply
Thread Tools Rate Thread

Compressing ratio

 
 
miracle
Guest
Posts: n/a
 
      4th Aug 2008
It looks that WinZIP is useless to compress big EXE files. For example, it
almost cannot reduce size of big setup file, the compressed file size
remains the same(almost).
Looks like using WinZIP is useless for compressing big executable files. Am
I correct?

 
Reply With Quote
 
 
 
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      4th Aug 2008

"miracle" <(E-Mail Removed)> wrote in message
news:%23%(E-Mail Removed)...
> It looks that WinZIP is useless to compress big EXE files. For example, it
> almost cannot reduce size of big setup file, the compressed file size
> remains the same(almost).
> Looks like using WinZIP is useless for compressing big executable files.
> Am I correct?


Sorry, you aren't. If you cannot compress certain files then it's
usually because they are already compressed. I'm sure you know
that trying to compress a file twice won't reduce the size any
further on the second attempt.

However . . . many years ago there was a tool called pklite.exe,
issued by PKWare. It was specifically designed to compress
executable files. Its successor was pklite32.exe. Maybe it still
exists and maybe it can do a better job than WinZIP.


 
Reply With Quote
 
miracle
Guest
Posts: n/a
 
      4th Aug 2008
can the compressing a file twice with WinZIP cause any problems? (damaging
file integrity, etc)

-----------


"Pegasus (MVP)" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> "miracle" <(E-Mail Removed)> wrote in message
> news:%23%(E-Mail Removed)...
>> It looks that WinZIP is useless to compress big EXE files. For example,
>> it almost cannot reduce size of big setup file, the compressed file size
>> remains the same(almost).
>> Looks like using WinZIP is useless for compressing big executable files.
>> Am I correct?

>
> Sorry, you aren't. If you cannot compress certain files then it's
> usually because they are already compressed. I'm sure you know
> that trying to compress a file twice won't reduce the size any
> further on the second attempt.
>
> However . . . many years ago there was a tool called pklite.exe,
> issued by PKWare. It was specifically designed to compress
> executable files. Its successor was pklite32.exe. Maybe it still
> exists and maybe it can do a better job than WinZIP.
>


 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      4th Aug 2008

"miracle" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> can the compressing a file twice with WinZIP cause any problems? (damaging
> file integrity, etc)
>


No, but the file will grow . . . (as a quick experiment
would show you).


 
Reply With Quote
 
Ken Blake, MVP
Guest
Posts: n/a
 
      4th Aug 2008
On Mon, 4 Aug 2008 19:47:18 +0300, "miracle" <(E-Mail Removed)>
wrote:

> It looks that WinZIP is useless to compress big EXE files. For example, it
> almost cannot reduce size of big setup file, the compressed file size
> remains the same(almost).
> Looks like using WinZIP is useless for compressing big executable files. Am
> I correct?



This has little to do with Winzip. It has to do with the file. How
much a file *can* be compressed depends on what type of file it
is, as well as what it contains.

It's primarily the file itself that determines how much it can be
compressed, not so much the program that's doing the compressing. You
might find a program that did a *slightly* better job, but that's all.


--
Ken Blake, Microsoft MVP - Windows Desktop Experience
Please Reply to the Newsgroup
 
Reply With Quote
 
Tim Slattery
Guest
Posts: n/a
 
      4th Aug 2008
"miracle" <(E-Mail Removed)> wrote:

>can the compressing a file twice with WinZIP cause any problems? (damaging
>file integrity, etc)


You won't do any harm, but the product of the second ZIP will probably
be larger then the product of the first ZIP. And you'll have to unzip
it twice, of course. The first time will yield a zip, the second time
whatever was zipped in the first place.

--
Tim Slattery
MS MVP(Shell/User)
(E-Mail Removed)
http://members.cox.net/slatteryt
 
Reply With Quote
 
Big_Al
Guest
Posts: n/a
 
      4th Aug 2008
Tim Slattery wrote:
> "miracle" <(E-Mail Removed)> wrote:
>
>> can the compressing a file twice with WinZIP cause any problems? (damaging
>> file integrity, etc)

>
> You won't do any harm, but the product of the second ZIP will probably
> be larger then the product of the first ZIP. And you'll have to unzip
> it twice, of course. The first time will yield a zip, the second time
> whatever was zipped in the first place.
>

The overhead to record the zip directory, normally stored at the end of
the file, and other header info causes the 2nd and successive files to
grow larger. The files themselves in the 2nd zip will not be any
different probably.
 
Reply With Quote
 
HeyBub
Guest
Posts: n/a
 
      4th Aug 2008
miracle wrote:
> It looks that WinZIP is useless to compress big EXE files. For
> example, it almost cannot reduce size of big setup file, the
> compressed file size remains the same(almost).
> Looks like using WinZIP is useless for compressing big executable
> files. Am I correct?


Some EXEs are compressed by the program's developers who add an uncompress
program to the front of the file. When the resulting "program" loads, it
executes in two stages: the first uncompresses the remainder and transfers
control to the result.

Inasmuch as these programs are already "compressed," further compression
attempts are usually futile.


 
Reply With Quote
 
Ken Blake, MVP
Guest
Posts: n/a
 
      4th Aug 2008
On Mon, 4 Aug 2008 20:13:17 +0300, "miracle" <(E-Mail Removed)>
wrote:

> can the compressing a file twice with WinZIP cause any problems? (damaging
> file integrity, etc)



Three points:

1. Any time you manipulate a file in any way, there is *always* a
potential for file corruption or other problems. That said, the great
majority of the time when we manipulate files, we don't have problems,
and there's no reason to expect one here either. Any such occurrence
should be extremely rare.

2. Compressing a compressed file can not possibly make it any smaller
than it already is. The compressing program doesn't suddenly get
smarter and do a better job.

3. In fact, compressing an already-compressed file will actually make
it slightly bigger. That's because you add the overhead of the extra
compression.



> "Pegasus (MVP)" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> >
> > "miracle" <(E-Mail Removed)> wrote in message
> > news:%23%(E-Mail Removed)...
> >> It looks that WinZIP is useless to compress big EXE files. For example,
> >> it almost cannot reduce size of big setup file, the compressed file size
> >> remains the same(almost).
> >> Looks like using WinZIP is useless for compressing big executable files.
> >> Am I correct?

> >
> > Sorry, you aren't. If you cannot compress certain files then it's
> > usually because they are already compressed. I'm sure you know
> > that trying to compress a file twice won't reduce the size any
> > further on the second attempt.
> >
> > However . . . many years ago there was a tool called pklite.exe,
> > issued by PKWare. It was specifically designed to compress
> > executable files. Its successor was pklite32.exe. Maybe it still
> > exists and maybe it can do a better job than WinZIP.
> >


--
Ken Blake, Microsoft MVP - Windows Desktop Experience
Please Reply to the Newsgroup
 
Reply With Quote
 
Twayne
Guest
Posts: n/a
 
      5th Aug 2008
> "miracle" <(E-Mail Removed)> wrote in message
> news:%23%(E-Mail Removed)...
>> It looks that WinZIP is useless to compress big EXE files. For
>> example, it almost cannot reduce size of big setup file, the
>> compressed file size remains the same(almost).
>> Looks like using WinZIP is useless for compressing big executable
>> files. Am I correct?

>
> Sorry, you aren't. If you cannot compress certain files then it's
> usually because they are already compressed. I'm sure you know
> that trying to compress a file twice won't reduce the size any
> further on the second attempt.
>
> However . . . many years ago there was a tool called pklite.exe,
> issued by PKWare. It was specifically designed to compress
> executable files. Its successor was pklite32.exe. Maybe it still
> exists and maybe it can do a better job than WinZIP.


Since that's PKWare, and the forerunniner to WinZip, probably not. exe
files just don't contain much compressible data, period. The process of
making an executable file already has it pretty well compressed. Only
the text portions of the file would compress at all, and they make up a
very small part of an exe file.
WinZip does have sort of a "super" compression scheme, but it's
unique and proprietary, so be forewarned there.


 
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
Change aspect ratio of slide w/o changing aspect ratio of picture GCC - Mike Microsoft Powerpoint 2 5th Nov 2008 09:17 PM
Compressing messages on sending and un-compressing messages that h asj Microsoft Outlook Discussion 1 8th Jan 2008 01:19 PM
Divide x/y should give Ratio x:y,How to express ratio in excel =?Utf-8?B?YXJ2aW5kMzczOA==?= Microsoft Excel Worksheet Functions 2 9th Jul 2006 09:40 AM
Compressing Michael Vilhelmsen Freeware 13 15th Jun 2005 12:09 PM
Self Compressing Rudy W. Microsoft Access VBA Modules 2 10th Feb 2005 12:43 PM


Features
 

Advertising
 

Newsgroups
 


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