Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

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

* * * * * 2 votes

  • Please log in to reply
678 replies to this topic

#101
SiMoNsAyS

SiMoNsAyS

    C'mon you apes! You wanna live forever!?

  • Patrons
  • 3,455 posts
are you running the installation when you logon like an administrator?? if you have more questions check Advanced Office 2003


How to remove advertisement from MSFN

#102
SiMoNsAyS

SiMoNsAyS

    C'mon you apes! You wanna live forever!?

  • Patrons
  • 3,455 posts
well i have find something interesting for users of non-english office verions. follow this process, it's tricky but you will find a solution to reduce the size of office:
start: you got the unattended.mst and administrative installation start shrink48.exe. and copy office\FILES\PFILES\MSOFFICE\OFFICE11\3082\011\SKU011.XML to the target of shrink exe file for example:
C:\office\FILES\PFILES\MSOFFICE\OFFICE11\3082\011\SKU011.XML
to
D:\office\FILES\PFILES\MSOFFICE\OFFICE11\3082\011\SKU011.XML

don't know why installation will fail. i checked my D:\office\FILES\SETUP folder where i found \PFILES\MSOFFICE\OFFICE11\3082\011\SKU011.XML :) (maybe i copied the file in a wrong place or maybe the installation moved the directory or don't know why).
another time started shrink48.exe and copied:
C:\office\FILES\PFILES\MSOFFICE\OFFICE11\3082\011\SKU011.XML
to
D:\office\FILES\PFILES\MSOFFICE\OFFICE11\3082\011\SKU011.XML

with this, installation started but it didn't find the necessary files, and it asked for the files needed, so it's a lot of work copy everytime every file that installation asks to the target folder but very useful if you are running a minimal installation, asking only for a few files. i think it will help the author (i'm running this method now in the other pc i will upload the logs when i finish it)

EDITED: my logs are here, they show the installation asks for a few files until it needs critical files like EXCEL.EXE and then it shows "retry or cancel"

#103
buckeyeXP

buckeyeXP

    ...

  • Member
  • PipPip
  • 103 posts
@simonsays: If you could get me a screen shot of the error box. Either error 1309 or 1308 that would be helpful.

Copying the files on those error messages is exactly what office shrink is supposed to do.

Also the folder is different for different languages.

French: \FILES\PFILES\MSOFFICE\OFFICE11\1036\011\SKU011.XML
German: \FILES\PFILES\MSOFFICE\OFFICE11\1031\011\SKU011.XML
Italian: \FILES\PFILES\MSOFFICE\OFFICE11\1040\011\SKU011.XML

IF anybody else that has another language i will need a screen shot of the error.

#104
SiMoNsAyS

SiMoNsAyS

    C'mon you apes! You wanna live forever!?

  • Patrons
  • 3,455 posts
if it help u here it is

#105
buckeyeXP

buckeyeXP

    ...

  • Member
  • PipPip
  • 103 posts
ok i whipped this up real quick. This is only to test this is not a final release by any means. This will probably only work for the spanish version. but run it and tell what happens.

Also, for all of the other languages what does microsoft call restart. does it always start with a "R" because if it does this process would be alot easier. I know the spanish version does.

either way let me know

@Simonsays: let me know what you think.

EDIT: file in my last post

#106
SiMoNsAyS

SiMoNsAyS

    C'mon you apes! You wanna live forever!?

  • Patrons
  • 3,455 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, 04 June 2004 - 08:37 PM.


#107
buckeyeXP

buckeyeXP

    ...

  • Member
  • PipPip
  • 103 posts
@simonsays: could you send me the logfiles: office_task(0001).txt and office.log

ill see what i can do from there.

#108
SiMoNsAyS

SiMoNsAyS

    C'mon you apes! You wanna live forever!?

  • Patrons
  • 3,455 posts
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, 06 June 2004 - 10:48 AM.


#109
chezy666

chezy666

    Junior

  • Member
  • Pip
  • 92 posts
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 :).

#110
chezy666

chezy666

    Junior

  • Member
  • Pip
  • 92 posts
by the way here's my log file

Attached Files



#111
buckeyeXP

buckeyeXP

    ...

  • Member
  • PipPip
  • 103 posts
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.

#112
SiMoNsAyS

SiMoNsAyS

    C'mon you apes! You wanna live forever!?

  • Patrons
  • 3,455 posts
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:

#113
devilrunner

devilrunner

    Junior

  • Member
  • Pip
  • 53 posts
nice work buckeyeXP.

looking forward to the multilang version, can't seem to get my Dutch install shrinked.

maybe move it to 'member contributed projects'

#114
Alanoll

Alanoll

    CODE tags people, CODE tags!

  • Patrons
  • 5,496 posts

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.
Welcome to the Forum! Please READ Me!!
Alright, that's it for the site for now. Now on to the next project....which could concievable replace the current site :)

#115
SiMoNsAyS

SiMoNsAyS

    C'mon you apes! You wanna live forever!?

  • Patrons
  • 3,455 posts


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

#116
Daniel304

Daniel304

    Newbie

  • Member
  • 12 posts
BTW I would volunteer for the beta testing on shrink dutch language !!!

#117
devilrunner

devilrunner

    Junior

  • Member
  • Pip
  • 53 posts
I would like to contribute to the dev of a program for dutch lang versions to.

#118
buckeyeXP

buckeyeXP

    ...

  • Member
  • PipPip
  • 103 posts
Sounds good. I think im going to make some changes so that it will be easier to implement different languages. Ill let you guys know when it is ready

probably tomorrow sometime.

#119
iwod

iwod

    Member

  • Member
  • PipPip
  • 265 posts
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?

#120
buckeyeXP

buckeyeXP

    ...

  • Member
  • PipPip
  • 103 posts
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.

Attached Files



#121
buckeyeXP

buckeyeXP

    ...

  • Member
  • PipPip
  • 103 posts
here is the file:

see previous post for usage instructions



FILE REMOVED..... SEE FIRST PAGE

#122
[BM]Crusher

[BM]Crusher

    Got milk?

  • Member
  • PipPipPipPip
  • 570 posts
i get a strange thing happen with officeshrink

i shrunk my administrative share of office 2003 (about an hour ago) and i just checked device manager and officeshrink is still running? even though the shrinking successfully finished about 55 minutes ago?

:) lol

#123
buckeyeXP

buckeyeXP

    ...

  • Member
  • PipPip
  • 103 posts
well.... i thought i fixed that problem.

2003 you say, ill look into it further.

#124
WadeV1589

WadeV1589

    Newbie

  • Member
  • 28 posts
It keeps telling me shrinkage is already complete. I've followed the admin install point guide and created an mst file and this is being run in a clean xp install (on VMware).

This is Office 2003 and all I want is Outlook.

Attached Files



#125
buckeyeXP

buckeyeXP

    ...

  • Member
  • PipPip
  • 103 posts
@wade: If you could send me the other two log files.

Also what language are you running, by looking at you log file im assuming that you are running this for english.

i cant really say much else without the log files.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN