Jump to content

Office Shrinker [reduce source of o2k3/xp/2k]


buckeyeXP

Recommended Posts

@Simonsays: let me know what you think.

u can imagine how happy i am now :) it works mostly perfect but... i still have some problems let me explain:

probably files in spanish are stored in the 3082\ folder so office shrink looks them in the english folder and for a few files it displays the error 1308. they're not a lot but a few. i think this is a issue easy to solve and i'm taking note of the files that prompts the error (my installation it's minimal so i'll need to run the full unattended installation and take note of all the files). it's nearly perfect with a few improvements it will be the final spanish office shrink tool :D

*curious that all the files with 1308 error have the extensions .aw maybe .exe files?? well quickfix it's to copy all the files with extension *.aw from the source office folder \3082\ to target office folder \3082\ also for buckeyeXP here it's the list of files that office shrink tool need to look in that folder (and now for the final version :rolleyes: ):

3082\

acmain10.aw

ado210.aw

dao360.aw

fm20.aw

graph10.aw

infmain.aw

mse10.aw

msqry32.aw

mstore10.aw

oismain.aw

olmain10.aw

pbmain10.aw

ppmain10.aw

vbaac10.aw

vbaof10.aw

vbaol10.aw

vbapb10.aw

vbapp10.aw

vbawd10.aw

vbaxl10.aw

veen3.aw

wdmain10.aw

workfunc.aw

xlmain10.aw

Edited by SiMoNsAyS
Link to comment
Share on other sites


at this time i'm sure: i'm getting crazy with this :) . when all appears to be solved another time it fails. there are 2 files; office2_Task(0001).txt and office.log are the logs of the office shrink (it still asks for some .aw files in the 3082 folder that it can't find), the other one it's named MyApp Setup(0001)_Task(0002).txt (after giving office shrink the .aw files needed it says "shrinkage complete" and when i try to install unattended it suddenly stops without giving any error, i generate that log file, can u help me??). the problem it's that files are too bigger to upload them to the forum, i'll try to send u by mail and copy the smallest :rolleyes:

also i forget 2 things, i found that no taskbar icon is displayed during the process and why this post is not in the member contributed projects??!!

office.log;

2004-06-07 16:21:05 : <---  LOG OPENED  --->

2004-06-07 16:21:14 : Office Source : c:\office\

2004-06-07 16:21:18 : Office Target : D:\office\

2004-06-07 16:21:21 : Office Setup EXE file : SETUP.EXE

2004-06-07 16:21:22 : Office Setup MST file : Unattended.mst

2004-06-07 16:21:22 : Setup File Version:11.0.5510.0

2004-06-07 16:21:22 : Setup File Version: Office 2003

2004-06-07 16:21:22 : <---------------------------------->

2004-06-07 16:21:22 : Source Files Necessicary for setup Copied to: D:\office\FILES\SETUP\*.*

2004-06-07 16:21:22 : .

2004-06-07 16:21:22 : ..

2004-06-07 16:21:22 : SETUP.INI

2004-06-07 16:21:22 : <---------------------------------->

2004-06-07 16:21:23 : <---------------------------------->

2004-06-07 16:21:23 : Source Files Necessicary for setup Copied to: D:\office\FILES\PFILES\MSOFFICE\OFFICE11\3082\011\*.*

2004-06-07 16:21:23 : .

2004-06-07 16:21:23 : ..

2004-06-07 16:21:23 : SKU011.XML

2004-06-07 16:21:23 : <---------------------------------->

2004-06-07 16:21:23 : <---------------------------------->

2004-06-07 16:21:23 : Source Files Necessicary for setup Copied to: D:\office\*.*

2004-06-07 16:21:23 : .

2004-06-07 16:21:23 : ..

2004-06-07 16:21:23 : AUTORUN.INF

2004-06-07 16:21:23 : FILES

2004-06-07 16:21:23 : OWC11.MSI

2004-06-07 16:21:23 : PRO11.MSI

2004-06-07 16:21:23 : README.HTM

2004-06-07 16:21:23 : SETUP.EXE

2004-06-07 16:21:23 : SETUP.HTM

2004-06-07 16:21:23 : shrink_span.exe

2004-06-07 16:21:23 : Unattended.mst

2004-06-07 16:21:23 : <---------------------------------->

2004-06-07 16:21:23 : Command Run: D:\office\SETUP.EXE /qb /laceimow "D:\office2.log" TRANSFORMS=D:\office\Unattended.mst

2004-06-07 16:21:23 : Waiting For 'Windows Installer' Window to appear....

2004-06-07 16:21:24 : 'Windows Installer' Window is visible

2004-06-07 16:21:24 : <--- Exclamation Sound Muted/removed: %SystemRoot%\media\Exclamación de Windows XP.wav

2004-06-07 16:21:24 : Waiting for 'Error' Window to become visible...

2004-06-07 16:21:55 : 'Error' Window visible.

2004-06-07 16:21:55 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\CLIPPIT.ACS

2004-06-07 16:21:55 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\BLNMGR.DLL

2004-06-07 16:21:55 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\BLNMGRPS.DLL

2004-06-07 16:21:56 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\CLIPPIT.ACG

2004-06-07 16:21:56 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\DOT.ACG

2004-06-07 16:21:56 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\F1.ACG

2004-06-07 16:21:56 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\LOGO.ACG

2004-06-07 16:21:56 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\MNATURE.ACG

2004-06-07 16:21:56 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\OFFCAT.ACG

2004-06-07 16:21:56 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\ROCKY.ACG

2004-06-07 16:21:56 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\3082\XLSLICER.DLL

2004-06-07 16:21:57 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\XL5EN32.OLB

2004-06-07 16:21:57 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\XL5ES32.OLB

2004-06-07 16:21:57 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\EXCEL.EXE

2004-06-07 16:21:59 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\EXCEL.PIP

2004-06-07 16:21:59 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\XLCALL32.DLL

2004-06-07 16:21:59 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\3082\VBALIST.XLS

2004-06-07 16:21:59 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\3082\XL8GALRY.XLS

2004-06-07 16:21:59 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\3082\XLINTL32.DLL

2004-06-07 16:21:59 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\3082\XLLEX.DLL

2004-06-07 16:21:59 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\EXLPRTID.XML

2004-06-07 16:21:59 : D:\OFFICE\FILES\WINDOWS\SHELLNEW\EXCEL9.XLS

2004-06-07 16:22:00 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\QUERIES\MSICURR.IQY

2004-06-07 16:22:00 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\QUERIES\MSIIND.IQY

2004-06-07 16:22:00 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\QUERIES\MSIQUOTE.IQY

2004-06-07 16:22:00 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\3082\XLREADME.HTM

2004-06-07 16:22:00 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\3082\MF_XLTOC.XML

2004-06-07 16:22:00 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\3082\VB_XLTOC.XML

2004-06-07 16:22:00 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\3082\XLATOC.XML

2004-06-07 16:22:01 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\3082\XLTOC.XML

2004-06-07 16:22:01 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\3082\WORKFUNC.AW,

2004-06-07 16:22:01 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\3082\WORKFUNC.AW,

2004-06-07 16:22:01 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\3082\WORKFUNC.AW,

2004-06-07 16:22:01 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\3082\WORKFUNC.AW,

2004-06-07 16:22:01 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\3082\WORKFUNC.AW,

2004-06-07 16:22:01 : D:\OFFICE\FILES\PFILES\MSOFFICE\OFFICE11\3082\WORKFUNC.AW,

2004-06-07 16:22:06 : FILES\PFILES\MSOFFICE\OFFICE11\3082\WORKFUNC.AW,

FILES\PFILES\MSOFFICE\OFFICE11\3082

45

2004-06-07 16:22:06 : <--- Missing File Error --->

2004-06-07 16:22:06 : <--- Exclamation Sound readded: %SystemRoot%\media\Exclamación de Windows XP.wav

2004-06-07 16:22:06 : <--- TIME Shrink Program running: 1 min

2004-06-07 16:22:06 : <--- NEW SIZE ON DISK: 22 MB

2004-06-07 16:22:06 : <--- Number of Files Copied: 31

2004-06-07 16:22:06 : shrink.ini made READ ONLY

2004-06-07 16:22:06 : <---LOG CLOSED  -->

Edited by SiMoNsAyS
Link to comment
Share on other sites

I used both the tools shrinkoffice as well as officeshrink2, both reduced my source to the exact same amount (74.9Mb), both of them gave quite a few errors but i guess its normal cause Officexp is tying to copy the files to one place and at the same time your app is trying to copy it somewhere else . I've done a silent install of the reduced source and it works like a charm :).

Link to comment
Share on other sites

OK here is the thing. Error Boxes are a good thing. The more error boxes the more files that are copied. i did find a bug though, it should work now.

@simonsays: the error messages should show up and then go away once the file is copied over. The error messages is how the script knows what file to copy.

so try that and send me the logs.

Link to comment
Share on other sites

muaaahahahahahahahhahaaa!!

finally shrinkage complete and unattended installation of office2003 spanish complete!! it should work for an unattended full installation but i haven't test it yet. u can now edit the 1st post and add shrink_span as the final version. hope this can help to develop the shrink tool in any language other than spanish simply changing the path to files. finally thanks to buckeyeXP for his interest in the problem (if you still want the logs let me know and i'll send them by mail).

:D:D:):rolleyes:

Link to comment
Share on other sites

maybe move it to 'member contributed projects'

haha. Everyone just wants their own forums now.....

nLite would have caused alittle conflict if it stayed in the Unattended forum, as people woud say that something was wrong with their setup when they used nLite and it was something caused by it. If something goes wrong with the Office isntallation, it's that you used Office Shrink or you're just plain doing it wrong.

Link to comment
Share on other sites

maybe move it to 'member contributed projects'

haha. Everyone just wants their own forums now.....

nLite would have caused alittle conflict if it stayed in the Unattended forum, as people woud say that something was wrong with their setup when they used nLite and it was something caused by it. If something goes wrong with the Office isntallation, it's that you used Office Shrink or you're just plain doing it wrong.

you're correct but it would be util to have it in the contributed projects section because there we can put a thread of bugs, another one for improvement or questions or anything, a single thread with all of this and releases will finally be as nLite 60 pages and u can't find anything :) another time thanks

Link to comment
Share on other sites

I just wanted to ask something........... but i thought different languages only have EXTRA files, so Shrink Office would only remove the english version files. ??

Or am i wrong?

Link to comment
Share on other sites

OK here it is... Shrink Office development for different languages.

ONLY THE ENGLISH AND SPANISH SETTINGS ARE HARD CODED INTO IT.

Here is what you do...

1.) Run office shrink click "NO" on the option to use the previous setup file.

2.) enter you language. (If it is not listed let me know and i will try to add it)

3.) It should get stuck at an error message. That looks like the attached picture.

4.) Open the shrink.ini file:

[Language]
lang=English
dir=1033
retry=&Retry
title=Microsoft Office
error=Error

Change the retry to the text on the middle button... the equivelant of "retry" in the language that you have chosen. be sure to leave the "&" infront of the word

if the word for error is different than error then change that

Change the title to the title of the error window. the first two words are sufficient.

5.) Rerun office shrink and choose to keep the ini settings. It should work.(of corse if it dosent send me the log and a screenshot would be helpful also)

6.) If it works tell me the settings of just send me the office.log or shrink.ini so i can hard code them into the program.

post-70-1087192922_thumb.png

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...