MSFN Forum: [repack]Generic Data1.cab recompress - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[repack]Generic Data1.cab recompress Automagically slim down Data1.cab based apps Rate Topic: -----

#1 User is offline   Nilfred 

  • Member
  • PipPip
  • Group: Members
  • Posts: 210
  • Joined: 18-September 04

Posted 24 August 2006 - 12:43 PM

Output example of AdobeReader 7.08:
 
@ECHO off
REM Recompress Data1.cab files using cabsdk cabarc

SET destino=new
SET diamond=ap7.ddf
SET cabinet=Data1.cab
SET cabSetID=0

MD %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.txt
FOR /F "tokens=7 delims=, " %%I IN ('FINDSTR /C:", set ID" before.txt') DO SET cabSetID=%%I
cabarc -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.txt
FC before.txt after.txt
CD ..

SET destino=
SET diamond=
SET cabinet=
SET cabSetID= 

Attached File(s)

  • Attached File  reCAB.zip (1.03K)
    Number of downloads: 289



#2 User is offline   T D 

  • Go MSFN!
  • PipPipPipPipPip
  • Group: Members
  • Posts: 940
  • Joined: 05-April 06

Posted 25 August 2006 - 03:00 AM

Will this work for all Data1.cab proggies, like Acrobat Pro?

#3 User is offline   sk8er_boi 

  • I have a headache
  • PipPip
  • Group: Members
  • Posts: 144
  • Joined: 11-December 03

Posted 25 August 2006 - 03:33 AM

It's cool! It slimmed flash 8's data1.cab from 90mb to 72 mb. And works like a charm.

#4 User is offline   dobbelina 

  • Newbie
  • Group: Banned
  • Posts: 30
  • Joined: 20-May 05

Posted 26 August 2006 - 12:51 AM

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

This post has been edited by dobbelina: 26 August 2006 - 12:52 AM


#5 User is offline   T D 

  • Go MSFN!
  • PipPipPipPipPip
  • Group: Members
  • Posts: 940
  • Joined: 05-April 06

Posted 26 August 2006 - 05:47 AM

Data2.cab is different...

#6 User is offline   dobbelina 

  • Newbie
  • Group: Banned
  • Posts: 30
  • Joined: 20-May 05

Posted 26 August 2006 - 10:07 PM

View PostT D, on Aug 26 2006, 05:47 AM, said:

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....

#7 User is offline   Nilfred 

  • Member
  • PipPip
  • Group: Members
  • Posts: 210
  • Joined: 18-September 04

Posted 31 August 2006 - 11:40 PM

View PostT D, on Aug 25 2006, 06:00 AM, said:

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.7

View Postcihatkarli, on Aug 25 2006, 06:33 AM, said:

It'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.

View Postdobbelina, on Aug 26 2006, 03:51 AM, said:

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
Notice the folowing line in the script:
SET cabinet=Data1.cab
I couldn't test every proggy out there, but I'll make a list with your findings, work or not.

#8 User is offline   OnlySunshine 

  • Group: Members
  • Posts: 1
  • Joined: 26-August 08

Posted 26 August 2008 - 07:16 PM

:angry: I can't find data1.cab on my computer

#9 User is offline   ajua 

  • Custom Installer Maker
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,260
  • Joined: 16-April 05

Posted 27 August 2008 - 12:14 AM

View PostOnlySunshine, on Aug 26 2008, 08:16 PM, said:

:angry: I can't find data1.cab on my computer
You 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.

#10 User is offline   sdbc 

  • Group: Members
  • Posts: 1
  • Joined: 01-December 09

Posted 01 December 2009 - 02:54 AM

What version of InstallShield support the recab?

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy