PDA

View Full Version : Compression



NewsArchive
08-12-2007, 01:27 PM
Friedrich,
At some point when you get bored... <G>

I usually make installers with compression set to maximum.

But when an installer contains a large .CHM or .PDF file, that can be a
waste of a lot of processor cycles.

Would it be possible to add a "don't compress this file" check box in the
files attributes section?

Jane

NewsArchive
08-12-2007, 01:28 PM
Jane,

I've not played with that (yet). What is the difference in time?

--
Russell B. Eggen
www.radfusion.com
Skype IRC: http://tinyurl.com/2mqr2j

NewsArchive
08-12-2007, 01:28 PM
Jane,

Unfortunately, this is not possible (at the moment). The "compression"
feature does not only compress the file, it also encrypts the data and
brings it into a specific binary format (to support disk-spanning,
file-skipping, etc.). The compressed/encrypted data stream is vital for
file handling process. An uncompressed data stream (e.g. an ASCII text
file) would break the whole system.

Friedrich

NewsArchive
08-13-2007, 01:51 PM
Nothing empirical, Russ. And I think likely what I'm seeing is differences
in time to timestamp the code-signing (commodo's timestamp server sometimes
takes longer than verisign's, it seems).

I turned off code-signing and tried making an installer that includes a 17MB
CHM file.

Total data size was 43.14 MB

(without code-signing):
Fast compression: 8.67 secs. installer 31.00MB
Standard: 10.03 secs. 30.45 MB
Maximum: 17.02 secs 30.35 MB

Then I made a installer that ONLY has the 17 MB CHM file:
total data size: 16.94 MB
Fast compress 27.77 secs 17.05 MB
Standard 26.01 sec 17.05 MB
Maximum: 24.4 sec 17.05 MB

Now I'm more confused, and am just going to pretend I never posed this
question <G>

Jane