[script] autoCompress
#1
Posted 13 August 2007 - 01:04 PM
That encreased the ISO size by about 2 MB.
I wrote this script to cab compress driver files before building the ISO.
It works similar like the autoUPX.Script:
Compare the candidates with a list of allowed and disallowed drivers, and decide whether to compress or not.
I tested the script with German SP2 and W2003 R2, standard and RAM boot ISO.
The project was nativeEx_barebone with some apps, Internet connection and a WEB browser.
The ISO size (no UPX) was about 70 MB.
Result: All combinations booted well. Internet browsing was possible.
Size decrease (in kB):
XP standard: 1944
XP RAM: 2046
W2003 standard:1454
W2003 RAM: 1022
The script is available on the nativeEx server.
Peter
#2
Posted 13 August 2007 - 01:25 PM
Try downloading all app scripts from the livexp server and then try running some of them - those who have dependencies will most likely fail.
It would be good to have a script to clean out these duplicates and keep the expanded versions...
#3
Posted 13 August 2007 - 01:41 PM
It would be good to have a script to clean out these duplicates and keep the expanded versions...
If you open the script and look into the help, you see that inside your project you can define *.sys files which must remain uncompressed.
I'm thinking about an ability that an individual script can write a 'do not compress me' into the projectinfo.ini.
What do you think?
(Similar already exists and is used for autoUPX)
Peter
#4
Posted 13 August 2007 - 03:33 PM
quote name='psc' date='Aug 13 2007, 12:04 PM' post='19343']
When introducing the CopyOrExpand command the old possibility has been lost to copy compressed driver files directly to the target.
That encreased the ISO size by about 2 MB.
Peter
Great work Maestro!
After detailed testing I have some comments and questions:
CopyAndExpand.Script v007 in Combination with autoCompress.Script
gives better size reducing by 0.5 MB than combination with C&E v015!
The reason is that expand and compression of sys files is not 100% reversible.
Sy_Files.zip 10.26KB 315 downloads
What is the reason to CopyExpand ramdisk.sy_? It is not needed for StandardISO
and every CreateRAMISO script expand it anyhow from W2003 source?
I always delete Apphelp.dll file without any negative impact, probably because my
Application programs don’t have help function. What is purpose of this file?
#5
Posted 13 August 2007 - 03:49 PM
#1: I use original M$ makecab to compress. Maybe somebody knows a different app which can cab compress files better?The reason is that expand and compression of sys files is not 100% reversible.
What is the reason to CopyExpand ramdisk.sy_? It is not needed for StandardISO
and every CreateRAMISO script expand it anyhow from W2003 source?
I always delete Apphelp.dll file without any negative impact, probably because my
Application programs don't have help function. What is purpose of this file?
#2 and #3: That is history. I try to delete them and then check.
Peter
#6
Posted 13 August 2007 - 04:55 PM
Google told me some undocumented makecab switches.#1: I use original M$ makecab to compress. Maybe somebody knows a different app which can cab compress files better?
#2 and #3: That is history. I try to delete them and then check.
Peter
First result: XP standard size decrease 2132 kB compared with 1944 kB before.
(That are the missing 10% of phox's PDF)
Before I publish the new version, my standard checks ...
Peter
#7
Posted 13 August 2007 - 05:29 PM
After handling the more important technical issues, now to communication issue:Great work Maestro!
As you see in the upper left, my title is 'Guru' , not 'Maestro'
Peter
#8
Posted 13 August 2007 - 05:41 PM
As you see in the upper left, my title is 'Guru' , not 'Maestro'
Peter
Please, don’t feel offended, Almighty!
I just wanted to emphasize your artistic side too.
#9
Posted 13 August 2007 - 06:07 PM
Please, don't feel offended, Almighty!
I just wanted to emphasize your artistic side too.
Peter
#10
Posted 13 August 2007 - 06:36 PM
#11
Posted 13 August 2007 - 06:42 PM
Tighter compression should be with LZX/21 settings:
http://www.msfn.org/...showtopic=25374
jaclaz
jaclaz,
you can see me very, very happy that this (maybe the only) time I'v been faster or more successful than you
Your above link explains what some posts ago I delared as 'Google told me'
Peter
#12
Posted 13 August 2007 - 07:59 PM
This version uses special makecab switches to optimize compression.
Result: All combinations booted well. Internet browsing was possible.
Size decrease (in kB):
XP standard: before: 1944 now: 2132
XP RAM: before: 2046 now: 2046
W2003 standard: before: 1454 now: 1646
W2003 RAM: before: 1022 now: 2046
Peter
#13
Posted 16 August 2007 - 05:51 AM
New version delivered.
This version uses special makecab switches to optimize compression.
Result: All combinations booted well. Internet browsing was possible.
Size decrease (in kB):
XP standard: before: 1944 now: 2132
XP RAM: before: 2046 now: 2046
W2003 standard: before: 1454 now: 1646
W2003 RAM: before: 1022 now: 2046
Peter
After testing new autoCompress script I found that files usbd.sy_, usbehci.sy_,
usbohci.sy_, usbuhci.sy_, usbport.sy_, usbhub.sy_ and usbstor.sy_ from
USBSupport.Script should not be expanded and than compressed again.
If this is valid for other sources beside English XPSP2, than script should be
adapted accordingly.
#14
Posted 16 August 2007 - 06:32 AM
After testing new autoCompress script I found that files usbd.sy_, usbehci.sy_,
usbohci.sy_, usbuhci.sy_, usbport.sy_, usbhub.sy_ and usbstor.sy_ from
USBSupport.Script should not be expanded and than compressed again.
Why? What happens?
Peter
#15
Posted 16 August 2007 - 07:02 AM
Why? What happens?
Peter
Nothing happens: why expand and compress some files if it's not necessary.
#16
Posted 16 August 2007 - 07:09 AM
Nothing happens: why expand and compress some files if it's not necessary.
OK. Then I pass the issue to Ove
Peter
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users