Nilfred Posted August 24, 2006 Posted August 24, 2006 Output example of AdobeReader 7.08:@ECHO offREM Recompress Data1.cab files using cabsdk cabarcSET destino=newSET diamond=ap7.ddfSET cabinet=Data1.cabSET cabSetID=0MD %destino%ECHO Decompressing...IF EXIST %destino%\%diamond% DEL %destino%\%diamond%FOR /F "usebackq skip=5 tokens=2* delims=\" %%I IN (`cabarc -o X %cabinet% *.* %destino%\`) DO ECHO %destino%\%%~nxI>>%destino%\%diamond%cabarc L %cabinet%>before.txtFOR /F "tokens=7 delims=, " %%I IN ('FINDSTR /C:", set ID" before.txt') DO SET cabSetID=%%Icabarc -m LZX:21 -s 6144 -i %cabSetID% N %destino%\%cabinet% @%destino%\%diamond%ECHO Cleaning...MOVE before.txt %destino%\FOR /F %%I IN (%destino%\%diamond%) DO DEL /F "%%I"DEL %destino%\%diamond%CD %destino%..\cabarc L %cabinet%>after.txtFC before.txt after.txtCD ..SET destino=SET diamond=SET cabinet=SET cabSetID=reCAB.zip
T D Posted August 25, 2006 Posted August 25, 2006 Will this work for all Data1.cab proggies, like Acrobat Pro?
sk8er_boi Posted August 25, 2006 Posted August 25, 2006 It's cool! It slimmed flash 8's data1.cab from 90mb to 72 mb. And works like a charm.
dobbelina Posted August 26, 2006 Posted August 26, 2006 (edited) Hmm, noticed some apps has both a "data1.cab" and a "data2.cab".If I temporarily rename the data2 cab to data1 and run this script, maybe that works to ?(re-naming it back to 2 afterwards offcourse)Ex. PowerDVD 6 Edited August 26, 2006 by dobbelina
dobbelina Posted August 27, 2006 Posted August 27, 2006 Data2.cab is different...Ok, that's a shame In powerdvd6 the data1.cab ain't that large.When I tried to execute the script, a "New" folder appeared, but there isn't any data1.cab in it ?Maybe it doesn't work on this proggie....
Nilfred Posted September 1, 2006 Author Posted September 1, 2006 Will this work for all Data1.cab proggies, like Acrobat Pro?Hell yes, is just an intermediate result obtained while trying to repack AcroPro 7.0.7It's cool! It slimmed flash 8's data1.cab from 90mb to 72 mb. And works like a charm.Keep me informed of your succeses, I will fill in a list.Hmm, noticed some apps has both a "data1.cab" and a "data2.cab".If I temporarily rename the data2 cab to data1 and run this script, maybe that works to ?(re-naming it back to 2 afterwards offcourse)Ex. PowerDVD 6Notice the folowing line in the script:SET cabinet=Data1.cabI couldn't test every proggy out there, but I'll make a list with your findings, work or not.
ajua Posted August 27, 2008 Posted August 27, 2008 I can't find data1.cab on my computerYou are not supposed to find it. You are supposed to use the scripts to recompress Data1.cab file in the application installer you want.If you don't have an installer with data1.cab, don't use them.
sdbc Posted December 1, 2009 Posted December 1, 2009 What version of InstallShield support the recab?
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now