Nilfred Posted August 24, 2006 Share 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 Link to comment Share on other sites More sharing options...
T D Posted August 25, 2006 Share Posted August 25, 2006 Will this work for all Data1.cab proggies, like Acrobat Pro? Link to comment Share on other sites More sharing options...
sk8er_boi Posted August 25, 2006 Share Posted August 25, 2006 It's cool! It slimmed flash 8's data1.cab from 90mb to 72 mb. And works like a charm. Link to comment Share on other sites More sharing options...
dobbelina Posted August 26, 2006 Share 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 Link to comment Share on other sites More sharing options...
T D Posted August 26, 2006 Share Posted August 26, 2006 Data2.cab is different... Link to comment Share on other sites More sharing options...
dobbelina Posted August 27, 2006 Share 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.... Link to comment Share on other sites More sharing options...
Nilfred Posted September 1, 2006 Author Share 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. Link to comment Share on other sites More sharing options...
OnlySunshine Posted August 27, 2008 Share Posted August 27, 2008 I can't find data1.cab on my computer Link to comment Share on other sites More sharing options...
ajua Posted August 27, 2008 Share 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. Link to comment Share on other sites More sharing options...
sdbc Posted December 1, 2009 Share Posted December 1, 2009 What version of InstallShield support the recab? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now