beermatt doesn't have a personal statement currently.
Gender Not Set
Joined: 13-March 07
Profile Views: 177*
Last Seen: Yesterday, 03:56 PM
Local Time: Mar 13 2008, 11:19 PM
7 posts (0 per day)
* Profile views updated each hour
5 Mar 2008
For some time I've been creating a Combo CD with UBCD4Win, UBCD4DOS and a few other additional plugins - this used to fit nicely onto a 700MB CD. However recently UBCD4Win has grown - with the most recent version I've had to abandon UBCD4DOS, however even if I only include AVG Antispyware, Paragon Hard Disk Manager and a couple of others it still comes to over 700MB.
Rather than look what else I could remove I decided to experiment with UPX to see if this would reduce the size while allowing things to still run. I used a script along the lines of the following to compress the exes & dlls in various plugin areas:-
cd "(path to upx)"I could have done the whole x:\ubcd4win\plugin folder but it wasn't necessary to get below 700MB, so I decided only to compress certain areas (less to test - all seems to work ok though).
for /F "usebackq delims==" %%i in (`dir "x:\ubcd4win\plugin\Applications\*.exe" /b/s`) do upx --best "%%i"
for /F "usebackq delims==" %%i in (`dir "x:\ubcd4win\plugin\Applications\*.dll" /b/s`) do upx --best "%%i"
for /F "usebackq delims==" %%i in (`dir "x:\ubcd4win\plugin\CDBurning\*.exe" /b/s`) do upx --best "%%i"
for /F "usebackq delims==" %%i in (`dir "x:\ubcd4win\plugin\CDBurning\*.dll" /b/s`) do upx --best "%%i"
So - onto the suggestion - is it worth compressing plugins before creating a new download?
Advantages: Smaller download, less space taken on CD/USB etc. (allowing more flexibility for customising or for this project to grow (IMG:style_emoticons/default/wink.gif) ), compressed plugins can be tested before being released (therefore if there are any issues with any particular plugins these can be excluded)..
Disadvantages: are there any?
Alternatively, what about including an option to UPX certain plugins as part of the scripts run during the build process, or when certain plugins (Paragon etc.) are configured - to allow those that want/need to compress to do this easily?
2 Jul 2007
According to blog:-
According to post for previous version it looks as if you can just replace the exe..
beermatt has no visitors to display.
Other users have left no comments for beermatt.
There are no friends to display.
|Lo-Fi Version||Time is now: 13th March 2008 - 06:19 PM|