MSFN Forum: Office Shrinker [reduce source of o2k3/xp/2k] - MSFN Forum

Jump to content


  • 34 Pages +
  • « First
  • 4
  • 5
  • 6
  • 7
  • 8
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Office Shrinker [reduce source of o2k3/xp/2k] Cut it down from 600 MB to 75 MB Rate Topic: ***** 2 Votes

#101 User is offline   SiMoNsAyS 

  • C'mon you apes! You wanna live forever!?
  • Group: Patrons
  • Posts: 3,455
  • Joined: 17-May 04

Posted 31 May 2004 - 10:53 AM

are you running the installation when you logon like an administrator?? if you have more questions check Advanced Office 2003


#102 User is offline   SiMoNsAyS 

  • C'mon you apes! You wanna live forever!?
  • Group: Patrons
  • Posts: 3,455
  • Joined: 17-May 04

Posted 01 June 2004 - 06:08 PM

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 User is offline   buckeyeXP 

  • ...
  • PipPip
  • Group: Members
  • Posts: 103
  • Joined: 30-January 04

Posted 01 June 2004 - 07:42 PM

@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 User is offline   SiMoNsAyS 

  • C'mon you apes! You wanna live forever!?
  • Group: Patrons
  • Posts: 3,455
  • Joined: 17-May 04

Posted 01 June 2004 - 08:02 PM

if it help u here it is

#105 User is offline   buckeyeXP 

  • ...
  • PipPip
  • Group: Members
  • Posts: 103
  • Joined: 30-January 04

  Posted 04 June 2004 - 07:06 PM

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 User is offline   SiMoNsAyS 

  • C'mon you apes! You wanna live forever!?
  • Group: Patrons
  • Posts: 3,455
  • Joined: 17-May 04

Posted 04 June 2004 - 07:57 PM

Quote

@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

This post has been edited by SiMoNsAyS: 04 June 2004 - 08:37 PM


#107 User is offline   buckeyeXP 

  • ...
  • PipPip
  • Group: Members
  • Posts: 103
  • Joined: 30-January 04

Posted 05 June 2004 - 07:23 PM

@simonsays: could you send me the logfiles: office_task(0001).txt and office.log

ill see what i can do from there.

#108 User is offline   SiMoNsAyS 

  • C'mon you apes! You wanna live forever!?
  • Group: Patrons
  • Posts: 3,455
  • Joined: 17-May 04

Posted 06 June 2004 - 08:53 AM

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;

Quote

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

This post has been edited by SiMoNsAyS: 06 June 2004 - 10:48 AM


#109 User is offline   chezy666 

  • Junior
  • Pip
  • Group: Members
  • Posts: 92
  • Joined: 31-May 04

Posted 06 June 2004 - 11:44 AM

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 User is offline   chezy666 

  • Junior
  • Pip
  • Group: Members
  • Posts: 92
  • Joined: 31-May 04

Posted 06 June 2004 - 11:47 AM

by the way here's my log file

Attached File(s)



#111 User is offline   buckeyeXP 

  • ...
  • PipPip
  • Group: Members
  • Posts: 103
  • Joined: 30-January 04

Posted 06 June 2004 - 07:18 PM

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 User is offline   SiMoNsAyS 

  • C'mon you apes! You wanna live forever!?
  • Group: Patrons
  • Posts: 3,455
  • Joined: 17-May 04

Posted 07 June 2004 - 08:04 AM

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 User is offline   devilrunner 

  • Junior
  • Pip
  • Group: Members
  • Posts: 53
  • Joined: 01-June 04

Posted 07 June 2004 - 10:53 AM

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 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 07 June 2004 - 11:50 AM

Quote

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.

#115 User is offline   SiMoNsAyS 

  • C'mon you apes! You wanna live forever!?
  • Group: Patrons
  • Posts: 3,455
  • Joined: 17-May 04

Posted 07 June 2004 - 04:16 PM

Alanoll, on Jun 7 2004, 11:50 AM, said:

Quote

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 User is offline   Daniel304 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 01-June 04

Posted 10 June 2004 - 02:37 AM

BTW I would volunteer for the beta testing on shrink dutch language !!!

#117 User is offline   devilrunner 

  • Junior
  • Pip
  • Group: Members
  • Posts: 53
  • Joined: 01-June 04

Posted 10 June 2004 - 04:55 AM

I would like to contribute to the dev of a program for dutch lang versions to.

#118 User is offline   buckeyeXP 

  • ...
  • PipPip
  • Group: Members
  • Posts: 103
  • Joined: 30-January 04

Posted 10 June 2004 - 05:19 PM

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 User is offline   iwod 

  • Member
  • PipPip
  • Group: Members
  • Posts: 265
  • Joined: 26-March 04

Posted 11 June 2004 - 07:34 AM

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 User is offline   buckeyeXP 

  • ...
  • PipPip
  • Group: Members
  • Posts: 103
  • Joined: 30-January 04

Posted 14 June 2004 - 12:02 AM

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 File(s)



Share this topic:


  • 34 Pages +
  • « First
  • 4
  • 5
  • 6
  • 7
  • 8
  • Last »
  • 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 - 2013 msfn.org
Privacy Policy