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

#476
Kalps

Kalps
  • Member
  • 8 posts
  • Joined 05-August 05
Okie , here's my admininstrative install - C:\XPCD\$OEM$\$1\install\Applications\OfficeXP

And Target path is - C:\NewOffice\

So Now should I replace NewOffice files with administrative install.....:(



How to remove advertisement from MSFN

#477
Wesmosis

Wesmosis

    Just Call Me Doctor Just Call Me Pain!

  • Member
  • PipPipPipPipPip
  • 787 posts
  • Joined 20-September 04
WOW! I found it lastly, after dozens of installtions and removing this and that
here is the thing which drove me crazy over the last 2 weeks!
the thing which interered with the Shrunken Office 2003 SP1 installtion

[RegionalSettings]
LanguageGroup=1,13
SystemLocale=00000401
InputLocale=0409:00000409,0401:00000401
InputLocale_DefaultUser=0409:00000409

who believe this! the **** regional settings was not ok with the so Picky Shrunken Office 2003 SP1?!!!!! :P
anyway, since I need this RS values, help me out guyz in maintaing those RS along with the picky office 2003

I'll think I'll shift to the Open Office lol
@I dont know how the third World War will be fought, but I`m sure the fourth will be fought with sticks and stones
@Like What You Do, If You Can't Do What You Like
@Reality.Sys Corrupted. Universe Halted. Reboot Y/N

#478
joselito

joselito
  • Member
  • 1 posts
  • Joined 09-August 05
Hi, i tried to use office shrink in a Portuguese(Brazilian) installation but it didn't worked, i still get error messages. I would appreciate if u help me. The logs are attached.

Thanks.

Attached Files



#479
muijsenbergq

muijsenbergq

    Newbie

  • Member
  • 14 posts
  • Joined 19-August 05
can i use the /qn switch for the office install ti make it silent?

thanks

#480
zoobooboozoo

zoobooboozoo

    Junior

  • Member
  • Pip
  • 53 posts
  • Joined 01-October 04
if I need to run the shrinker by myself...
I don't understand how do I install office after the shrink...
i mean unattendedly...

#481
Nick2588

Nick2588

    Newbie

  • Member
  • 39 posts
  • Joined 28-May 04
Great thread!

It is worth noting that I only shrunk office to about 440 MB, but using 7-Zip I was able to shrink it down to a mere 165 MB. :w00t:

#482
scuzzy47

scuzzy47

    Newbie

  • Member
  • 37 posts
  • Joined 03-August 05
Hi guys, I did everything, made an installation setup folder, slipstreamed it with sp1 and then created a .mst with ork, so all was done, then I've set up a virtual machine, with a clean install, I shared the folder containing me installation setup and executed shrink_lang2.exe, this program works about 10 minutes, then when it's done, in my target folder there's only 7.20mb, then when I try to open my original installation setup folder, to install, it tells me to do some system changes in the config, when I try the shrunk office it tells me the same thing...

Anyone got an answer to this, maybe it's my virtual machine that doesn't work correct, I didn't install any additions cause I don't know where to download, thx in advance...
Grtz, scuzzy
SCSI (skŭz'ē) : A small computer system interface used for connecting peripheral devices, such as external disk drives...
--------------------

#483
xtremexxx

xtremexxx

    MSFN Addict

  • Member
  • PipPip
  • 177 posts
  • Joined 04-July 04
Has anyone else experienced problems installing office 2003 after shrink + 7zip ?
It starts ok for me , but half way into the process the progress bar starts going backwards, and eventualy quits. Office doesn't get installed.

The answer might be somewhere in here but I didn't have the time to read over a dozen pages just to check.

Thanks.

EDIT: after further searching I found others had similar problems. BUT I tried to install manualy, but with /qb only, not /qb-, and I found out I have a LOT of files missing !! :(

Edited by xtremexxx, 06 September 2005 - 07:13 AM.

"If you really want something in this life, you have to work for it. Now, quiet! They're about to announce the lottery numbers..."
- Homer Simpson

#484
Kapo

Kapo

    Junior

  • Member
  • Pip
  • 76 posts
  • Joined 07-September 05
i try the shrinker for italian language,but it doesn't
works. A lot of missing files and the destination folder
is 6.75MB.

I've runned on XP SP2 without Office installed on a
virtual machine with shared folder.

#485
sunamigaza

sunamigaza

    Newbie

  • Member
  • 14 posts
  • Joined 09-May 05
@buckeyeXP:

Successfully shrinking the source of Office XP, but not for Office 2K.

Just selected Office 2K: Microsoft Word & Microsoft Excel, Microsoft Tools & Documents, others removed by Office Shrinkler.

Attached is the log file as u suggested, pls help to indentify where the mistakes might be.

Thx.

Attached Files


Edited by sunamigaza, 23 September 2005 - 01:01 AM.


#486
h11

h11
  • Member
  • 4 posts
  • Joined 28-September 05
:( Has anyone tried the office shink program with office 2003 sp2. I have followed all the instructions. The program runs for about 1 minute then it stops with multiple errors .

any help would be appreciated. I can post my log files if you want :D

#487
XXsplit

XXsplit

    Newbie

  • Member
  • 18 posts
  • Joined 24-March 05
Aloha...

First of all many txs to buckeyeXP for this great little app... I've been using it for a while now and it has never failed me... So dude, BIG UP... :thumbup . (btw... I wouldn't mind having a look at the source... hmmm... no asking no spanking.. lol :whistle: )

@h11 : Hmmm.... the answer is YES... lol. It works great... ;).

Thought it would be a good Time for a complete recap....

This is for Office 2003 Pro + SP2 + KB904631 and all work is being done on XP Pro SP2 Full Updates platforms.

What you will need:

- Office 2003 Original Full source from CD.
- Office 2003 SP2 (Full NOT Client). Here
- KB904631 Outlook 2003 Junk E-Mail Filter update: September 2005. [/URL]Here
- A virtual machine ready with xp SP2 installed and all updates. (That ya got to figure out by yourself... ;)).
- buckeyeXP's Office Shrinker... iunno... first page... lol
- Microsoft Office 2003 Resource Kit (To be installed on virtual machine). Here
- 7zip (To be installed on virtual machine). Here
- A reshacked version of 7zS.sfx module (For completely silent install). Info Here
- Not mandatory but very handy "Open Cmd Here Powertoy" (To be installed on both physical and virtual machine). Here

On your Computer create 2 Folders in "c:\" O2K3 and SP2

1 - Create an Admin install from your original Office source (CD ?) and install in O2K3 Folder. (More info on topic Here.)

"Full Path to Office source"\setup.exe /a


2 - Splitstream Office 2003 SP2 into your Admin Install. Place your Office2003SP2-KB887616-FullFile-ENU.exe in "c:\"

! - The result of the Extraction will give you 6 files including 3 *.msp files... Only 2 ( MAINSP2ff.msp and OWC11SP2ff.msp ) will be splitstreamed, the 3rd one being an update on office xp web components (Probably only needed when using SP2 on an upgraded version of Office XP... not the case here...).

Extract: (cmd prompt from c:\)
Office2003SP2-KB887616-FullFile-ENU.exe /Q /C /T:C:\SP2

Splitstream: (cmd prompt from c:\SP2)
msiexec /p MAINSP2ff.msp /a C:\O2K3\PRO11.msi SHORTFILENAMES=TRUE /qb
msiexec /p OWC11SP2ff.msp /a C:\O2K3\OWC11.MSI SHORTFILENAMES=TRUE /qb


3 - Splitsream KB904631 the only non included update for full phishing protection... Place office2003-KB904631-FullFile-ENU.exe in "c:\"

Extract:(cmd promt form c:\)
office2003-KB904631-FullFile-ENU.exe /Q /C /T:C:\SP2

Splitstream: (cmd prompt from c:\SP2)
msiexec /p OUTLFLTR.msp /a C:\O2K3\PRO11.msi SHORTFILENAMES=TRUE /qb

You're done for the splitstreaming part...


4 - Shrinking Office: (From now on all happens on the virtual machine).

! - You need a clean install of windows with NO Office software previously installed (I use VMWare and clone a full XP SP2 all updates for this purpose).

1) Copy your O2K3 folder with the Office 2003 SP2 you've just created to the "c:\" of your fresh virtual machine.
2) Install Microsoft Office 2003 Resource Kit on your virtual machine if you haven't done it yet and create your own Transform file you will name Unattended.MST and save in c:\O2K3 on virtual machine. (More info on topic Here.)

! - If you have Office 2003 installed on your physical computer you can create an *.OPS file using the "Microsoft Office 2003 Save My Settings Wizard" or "Profile Wizard" in ORK. This allows you to further tweak your install easily by integrating your actual Office settings into your *.MST... (Keep in mind that at compression stage you will have to include your *.OPS file as well as your *.MST file in the 7z archive but nothing else changes...).

! - Keep in mind that the resultant *.MST file is what will determine the size of your shrunk source so take the time to consider all the apps and modules delivered by Office 2003.

3) Once done... run buckeyeXP's shrink_lang02.exe on your vitrtual machine and follow instructions... (For the rest of the example we'll assume shrunk source is placed in c:\Office2003 on the virtual machine...)

My results at this stage:
Office 2003 SP2 + KB904631 Full source = 637mb
Office 2003 SP2 + KB904631 Shrunk source = 422mb
MST = Keep Access/Excel/Outlook/Word + Most tools and Xtras...


5 - Compress the shrunk source ... (If ya haven't installed 7zip yet on the virtual machine this is the right time...).

Copy your Unattended.MST from c:\O2K3 to c:\Office2003 and compress the entire shrunk source + Unattended.MST to Office2003.7z (Using LZMA method at Ultra compression Level). * If you've used an *.OPS file with your Unattended.MST don't forget to include it in your Office2003.7z.

My results at this stage: 156mb... lol...


6 - Creating the silent .exe (You need a reshacked 7zS.sfx module and a config.txt).

1) Delete everything from your c:\Office2003 on virtual machine except the newly created Office2003.7z
2) Create a config.txt file you will save as UTF-8 format in c:\Office 2003

- With progress bar and cancel option:

;!@Install@!UTF-8!
RunProgram="setup.exe TRANSFORMS=Unattended.MST /qb-"
;!@InstallEnd@!


- Totaly Silent:

;!@Install@!UTF-8!
RunProgram="setup.exe TRANSFORMS=Unattended.MST /qn"
;!@InstallEnd@!

! - More info on switches that can be used in your %OfficeSource%\SETUP.HTM

3) Place your reshacked 7zS.sfx in that same folder.
4) Open a cmd prompt in c:\Office2003 and type:

copy /b 7zS.sfx + config.txt + Office2003.7z Office2003.exe

This will create your silent .exe in the same folder...
Well seems we're all done.... Copy your fresh Office2003.exe out of the virtual machine to your computer.....

Did I forget anything ? Leme know....

Some little Xtras:

- For some reason, even if your *.MST specifies that some options should be kept "locked" and "unavailable", MS Installer won't keep track of those settings and will still offer to install those Items when using the Add & Remove programs | Change or remove MS Office wizard... ??? If anyone has an answer on how to effectively getting rid of unwanted objects from the installer (like graying and really making option unavailable) please let us know.... Btw, this has nothing to do with buckeyeXP's Office shrinker...

- Some of you peeps might want to have a closer look at the Setup.ini files located in your "%OfficeSource%\FILES\SETUP\" and "%OfficeSource%\FILES\OWC11\"... Check the [cache] options at the end of those files...

- Also... It seems Microsoft has released an Enhanced Version of the Office 2003 installer that supports more [cache] options. It can be found Here.

- Usefull links :
Office 2003 Resource Kit Downloads
Description of Office 2003 Service Pack 2
Preparing to deploy Office 2003

Edited by XXsplit, 05 October 2005 - 05:29 AM.


#488
h11

h11
  • Member
  • 4 posts
  • Joined 28-September 05
:thumbup XXsplit

Awsome right up on this I will try your guide this weekend. I have already slipped streamed office 2003 sp2 with all hot fixes as of 4 Oct 05. I was having problems when I ran the office shrink program it would run for about 1 minute then give me an error. But I am willing to try it again thanks

#489
XXsplit

XXsplit

    Newbie

  • Member
  • 18 posts
  • Joined 24-March 05
Hmmm.... Well h11 not really sure what your pb could be but, as far as i know...

1) Office 2003 Original source (ie with no updates at all) only needs SP2 and KB904631 to be fully up to date...
2) Most of the errors people get with buckeyeXP's Office Shrinker occur because it is run on a machine that has had Office software installed at one time... Not sure if it's your case though...

! - As a reminder, it is mandatory that NO Office software be installed on the virtual machine you are working with prior to running the Office Shrinker. If you've installed it to get your *.OPS file ready, simply uninstalling Office will not work... You will need to reclone your virtual machine...

Well i hope you'll get it to work.... ;) It tok me ages the first time i remember.... lol

#490
ZenLord

ZenLord

    Newbie

  • Member
  • 33 posts
  • Joined 11-August 04
THX for this great tutorial! I was having problems the last time I tried, but now I'm trying again to get it to work, and I'm already getting to the end of the process...

I read somewhere that you cannot use the 'shared folders'-option of the VMware-windows, and that you have to use the c:-partition on the virrtual machine to avoid errors. Maybe some of the above mentioned problems can be solved this way?

So: as an extra step, I copy my slipstreamed source to the VM's hard drive before using ORK or OfficeShrink. Works like a charm!

THX again, BuckEyeXP and XXsplit!

Zl.

#491
h11

h11
  • Member
  • 4 posts
  • Joined 28-September 05
:thumbup :thumbup XXsplit

I followed all your steps and what do you know everything worked perfect. I was able to get my office Down to 200 mbs this includes word, outlook, excel, powerpoint, publisher, access, office infopath and all plugins that come with the office 2003 corporated ed. thanks
:thumbup

#492
XXsplit

XXsplit

    Newbie

  • Member
  • 18 posts
  • Joined 24-March 05
hehe.... glad the tutorial helped ya out h11... (don't forget the great coder of this app... the one & unique buckeyeXP... ;).... hmmm by the way.... still very interested in source or tips on where to start buckeyeXP....lol).

Hmmm.... note that using the exact same technique and same Office 2003 Resource Kit to create your *.MST you can:

- Create an admin install of your Office 2003 PTK
- Splitstream the PTK SP2 into the admin install
- Create your Unattended.MST for PTK with Office 2003 Resource Kit
- Use the 7zip technique to get a compressed silent instal off 520mb more or less.... (Original splitstreamed admin source around 1.2Gigs).

What you need:

- Your Office 2003 PTK source CD
- Office 2003 PTK SP2 Here
- Office 2003 Resource Kit Here
- 7zip Here
- A reshacked version of 7zS.sfx module Info Here

Now buckeyeXP.... time to integrate a new feature to enable the same shrinking capacities on PTK... ;p

#493
Arkymedes

Arkymedes
  • Member
  • 4 posts
  • Joined 13-October 05
Hmm.. a little correction, i think..

for the portuguese language, the shrink.ini is wrong and i was unable to use the program.

[Language]
lang=Portuguese
dir=2070
retry=&Repetir <-------- (CORRECTED)
title=Microsoft Office
error=Erro <-------- (CORRECTED)
[Directory]
Office Source=***
Office Target=***
[Files]
Office Setup EXE file=INSTALAR.EXE <-------- (CORRECTED)
Office Setup MST file=Unattended.MST
[Version]
Number=11.0.5510.0


after this changes the program run well :D

i hope this can be useful for someone.
sorry for my terrible english. cya!

#494
Bry

Bry

    Newbie

  • Member
  • 49 posts
  • Joined 12-October 05
Hi, im having a few problems.

first of all my ini

[Language]
lang=English
dir=1033
retry=&Retry
title=Microsoft Office
error=Error
[Directory]
Office Source=C:\Office2003\
Office Target=C:\Office\
[Files]
Office Setup EXE file=SETUP.EXE
Office Setup MST file=unattended.MST
[Version]
Number=11.0.5510.0

office2003 folder contains office2003 with sp2 slipstreamed (created with a admin install setup.exe /a)
I am attempting to shrink it on vmware with a fresh install of windows xp sp2.

Office 2003 sp2 is in the "office2003" folder (source)

the "office" folder (target) is i assume a folder created by shrunk with the new version in?

But i am not too sure. As i keep getting errors unable to find xx file in office folder. But ofcourse you won't aas thats the destination, the source is Office2003? Am i missing something (show all files and file types is set)

Cheers for any help

#495
XXsplit

XXsplit

    Newbie

  • Member
  • 18 posts
  • Joined 24-March 05
Arkymedes txs for that precious info... i'm sure it'll help out a few peeps using other language versions of office... ;)

Bry, as much as i would like to help you out i can't....lol... the reason is i never had to modify my shrink.ini so i don't know what it looks like... lol

I will have a go at it as soon as i have a min to myself and will get back to u if i find anything wrong with what you posted... In the meanwhile the only advice i can give you is.... Do it again and again to test out the results... lol

Good luck

#496
OCedHrt

OCedHrt

    Newbie

  • Member
  • 41 posts
  • Joined 08-August 04
Is it possible to extend to timeout period? I tried using the shrinker with a source over LAN and it says already complete due to timeout because the installer hasn't loaded yet in 5 seconds!

#497
h11

h11
  • Member
  • 4 posts
  • Joined 28-September 05
Bry

Try changing your mst file to something like office.mst instead of

Office Setup MST file=unattended.MST


I had a problem with my mst if it was over 8 characters long

#498
Bry

Bry

    Newbie

  • Member
  • 49 posts
  • Joined 12-October 05

Bry

Try changing your mst file to something like office.mst instead of

Office Setup MST file=unattended.MST


I had a problem with my mst if it was over 8 characters long


Hi thansk for that but no luck im afraid. This is the noly thing stopping me from compelting ym unattended dvd:(
One of the errors img etting is :

Error 1308. Setup cannot find the required file C:\Office\FILES\PFILES\MSOFFICE\OFFICE11\1033\XLREADME.HTM. Check your connection to the network, or CD-ROM drive. For other potential solutions to this problem, see C:\Office\FILES\PFILES\MSOFFICE\OFFICE11\1033\SETUP.CHM.

Yet this file exists in the c:\office2003\ fodler i.e. my soruce fodler as is defined in the ini yet its looking for it in the destination folder???

#499
DL.

DL.

    Tweaker or whatever I happen to be focused on at the moment..

  • Member
  • PipPipPip
  • 489 posts
  • Joined 05-March 05
  • OS:Windows 7 x64
  • Country: Country Flag
I've had lots of errors with missing files, it seems to remove quite a bit too much. Sometimes the slimmed down and 7-zipped Office 2003 installs just fine, but sometimes setup won't complete because of missing files (it won't say which files, you have to check the Event Log) that aren't in the slimmed down but uncompressed source.
When adding all the missing files, it just keeps getting errors for more and more files. The end result is approximately the same as before using the prog, minus a few components.

I thought the program was great when I first started working with it, but now it feels like it really sucks.
It might however work for some people with their hardware/software/language/installation configurations, but it certainly doesn't work for everyone at all times.

Some notes: It has worked for me a few times, in both virtual and physical machines. It has successfully slimmed down the installation source, but as I said it is a bit too effective.

#500
sadicq

sadicq

    noob

  • Member
  • PipPip
  • 273 posts
  • Joined 17-August 05
First, I wanna say this is great app... It misses some files, but hey those are 10, not 1000!
Anyway, want I want to ask fot is a version for Microsoft Visio (2003). Is it possible? cause I really think its setup is pretty much the same thing with the office setup ... Correct me if I'm wrong :blushing:
And, if it is possible, will it be implemented? It would be awesome to have a complete suite of "xxx_shrinkers" for all miscrosoft office products (visio, project, onenote) ... until then all I ask for is the visio version. :lol:
Please post back if you do have some spare time to work further at this project.

Sorry my English, I'm just dizzy right now. :unsure:

Edited by sadicq, 24 October 2005 - 02:29 PM.

Programming today is a race between software engineers striving to build bigger and better id***-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users