COMPRESS.EXE question 
Author Message
 COMPRESS.EXE question

I am developing an application in VB 3.0 . The COMPRESS.EXE utility that
comes with VB 3.0 does not do a good job in compressing files. I noticed
that the COMPRESS.EXE that comes with Access Destribution Kit compresses
files 20% smaller in size.

I noticed that both installation utilities use the same VER.DLL which
contains the function VerInstallFile that is called to decompress in
windows. So I compressed the files with the ADK version and tried to
install it using the VB setup program.

But the VB setup kit would copy the files without decompressing them,
even though the VerInstallFile call to VER.DLL returns 0 when called from VB,
which I assume means no error.

Note that the COMPRESS.EXE of the ADK has a lot of switches compared to
that of the VB. Example it can select which algoritm to use, split files,...

My question is: Has anyone found a better freeware/shareware setup utility
that compresses better that the VB COmpress.exe ? Is there a way around
to use the COMPRESS.exe of the ADK and call the functions successfully from VB?

Thank you very much.
--
========================================================================
  HESHAM ELGHARIB             31280 GATECH STATION, Atlanta, GA, 30332

========================================================================



Sun, 25 Jan 1998 03:00:00 GMT  
 COMPRESS.EXE question

{SNIP}
Quote:
>files 20% smaller in size.

>I noticed that both installation utilities use the same VER.DLL which
>contains the function VerInstallFile that is called to decompress in
>windows. So I compressed the files with the ADK version and tried to
>install it using the VB setup program.

>But the VB setup kit would copy the files without decompressing them,
>even though the VerInstallFile call to VER.DLL returns 0 when called from VB,
>which I assume means no error.

{SNIP}

My only question is: When you compressed the files, did you use the
"-r" switch? This renames the files with the "_" extension and stores the
last letter of the extension in the file header.

Tim
+++
/*---------------------------------------------------------------*\
|               First Law of Computer Programming:                |
|           Any given program, when running is obsolete.          |
|+---------------------------------------------------------------+|

\*---------------------------------------------------------------*/

The content of my posts and/or E-Mail DOES NOT, in any way, reflect
or represent the views and/or opinions of Simulation Sciences, Inc.
 All opinions and views given are my own and will stay that way...



Sun, 25 Jan 1998 03:00:00 GMT  
 COMPRESS.EXE question
There are ZIP utilities for VB Available.  CICA has them.

If you are looking to compres for install WISE Install does a pretty great
sqeeze on the files.



Tue, 27 Jan 1998 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Setup Compress.exe question

2. HELP: A DLL that can compress like COMPRESS.EXE

3. HELP: A DLL that can compress like COMPRESS.EXE

4. HELP: A DLL that can compress like COMPRESS.EXE

5. Compressing in Compress.exe format through code

6. Distribution question - compress.exe (VB5.0pro)

7. EXE compress

8. Setup Kit DLL calls--Avoiding Compress.exe

9. Freeware: Win-Shell for COMPRESS.EXE (tiny utility)

10. expand.exe for new compress version?

11. an api or ocx to replace the compress.exe

12. Compress.Exe - Where, how?

 

 
Powered by phpBB® Forum Software