Jump to content

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


buckeyeXP

Recommended Posts


I was wondering if one could make a Office that will work on most system. So that we don't have to remake our office everytime we slipstream update / or make changes to the disc?

Link to comment
Share on other sites

Office 2003 + SP1 + hotfixes inc. FrontPage, Visio, Project, OneNote

installed w/ 'typical' except Outlook and Office Assistant

untouched totals

1.69 GB (1,819,569,631 bytes)

ISO reduction via removal of redundancy

927 MB (972,058,624 bytes)

officeshrink

866 MB (908,480,291 bytes)

officeshrink w/ ISO reduction via removal of redundancy

625 MB (656,277,504 bytes)

using WinRAR for each of the 5 individual install routines, for unattended CD/DVD

342 MB (359,617,479 bytes)

and I'm sure if I didn't make 5 individual WinRAR SFX packages it would be even smaller, but this way I can have seperate installers for different situations.

30/03/2005 05:47 AM 68,239,465 FrontPage2003shrunk.exe

30/03/2005 05:47 AM 134,647,968 Office2003shrunk.exe

30/03/2005 05:48 AM 30,956,536 OneNote2003shrunk.exe

30/03/2005 05:48 AM 42,848,576 Project2003shrunk.exe

30/03/2005 05:48 AM 82,924,934 Visio2003shrunk.exe

Thanks a ton for your time and effort with OfficeShrink! Only problems I encountered were with FrontPage/OneNote/Project/Visio and an xml file that made the installer think it was corrupted. Copied the xml files over to the proper directory in the target and tried it again, and it worked just fine. Woot!

Link to comment
Share on other sites

I was thinking, If i make a Office Shrink on a heavy Nlited CD. ( virtuall everything apart from IE ) Then shouldn't in theory this office include all the extras you need to install office. And therefore work on most system?

Link to comment
Share on other sites

Strange enough I get an error message containg the following :

Could not locate language file amslng.9

I selected the correct source directory :

D:\Office (where all cd source files are located)

And output directory :

D:\OfficeShrinked

I try to do a shrink from a clean winxp install within vmware.

Conclusion is the program halts on the error and doesn't contnue shrinking.

ANy suggestions are very welcome.

Link to comment
Share on other sites

Hey Buckeye,

I'm glad to see that your script has help so many people. I'm still having trouble. I'm using a fresh install of WinXP on VMWare. No programs have been installed at all.

When I run the script imediately I get this message: "For imformation on usage and command line parameters, see Setup.htm"

Then office shrink appears to be doing it's thing. At the end I get I get a "Complete" dialog box that tells:

Time to Complete: 7min

New Space on disk: 7 MB

Number of files copied: 0

Here are my log files:

office:

2005-04-17 13:20:43 :  
2005-04-17 13:20:43 : <---  LOG OPENED  --->
2005-04-17 13:20:45 : <---  Language Settings Chosen  --->
2005-04-17 13:20:45 : Language: English
2005-04-17 13:20:45 : language directory : 1033
2005-04-17 13:20:45 : retry : &Retry
2005-04-17 13:20:45 : Error window title : Microsoft Office
2005-04-17 13:20:45 : Error : Error
2005-04-17 13:20:53 : Office Source : c:\office\
2005-04-17 13:20:59 : Office Target : C:\office shrunk\
2005-04-17 13:21:07 : Office Setup EXE file : SETUP.EXE
2005-04-17 13:21:09 : Office Setup MST file : Unattended.MST
2005-04-17 13:21:09 : Setup File Version:11.0.5510.0
2005-04-17 13:21:09 : Setup File Version: Office 2003
2005-04-17 13:21:09 : <---------------------------------->
2005-04-17 13:21:09 : Source Files Necessicary for setup Copied to: C:\office shrunk\FILES\SETUP\*.*
2005-04-17 13:21:09 : .
2005-04-17 13:21:09 : ..
2005-04-17 13:21:09 : SETUP.INI
2005-04-17 13:21:09 : <---------------------------------->
2005-04-17 13:21:10 : <---------------------------------->
2005-04-17 13:21:10 : Source Files Necessicary for setup Copied to: C:\office shrunk\FILES\PFILES\MSOFFICE\OFFICE11\1033\011\*.*
2005-04-17 13:21:10 : .
2005-04-17 13:21:10 : ..
2005-04-17 13:21:10 : SKU011.XML
2005-04-17 13:21:10 : <---------------------------------->
2005-04-17 13:21:10 : <---------------------------------->
2005-04-17 13:21:10 : Source Files Necessicary for setup Copied to: C:\office shrunk\*.*
2005-04-17 13:21:10 : .
2005-04-17 13:21:10 : ..
2005-04-17 13:21:10 : AUTORUN.INF
2005-04-17 13:21:10 : FILES
2005-04-17 13:21:10 : OWC11.MSI
2005-04-17 13:21:10 : PRO11.MSI
2005-04-17 13:21:10 : README.HTM
2005-04-17 13:21:10 : SETUP.EXE
2005-04-17 13:21:10 : SETUP.HTM
2005-04-17 13:21:10 : Unattended.MST
2005-04-17 13:21:10 : <---------------------------------->
2005-04-17 13:21:10 : Command Run: C:\office shrunk\SETUP.EXE /qb /laceimow "C:\office2.log" TRANSFORMS=C:\office shrunk\Unattended.MST
2005-04-17 13:21:10 : <--- Exclamation Sound Muted/removed: %SystemRoot%\media\Windows XP Exclamation.wav
2005-04-17 13:21:10 : Waiting for 'Error' Window to become visible...
2005-04-17 13:28:10 : 'Error' Window visible.
2005-04-17 13:42:44 : <--- Shrinkage Complete --->
2005-04-17 13:42:45 : <--- Exclamation Sound readded: %SystemRoot%\media\Windows XP Exclamation.wav
2005-04-17 13:42:45 : <--- TIME Shrink Program running: 22 min
2005-04-17 13:42:45 : <--- NEW SIZE ON DISK: 7 MB
2005-04-17 13:42:45 : <---LOG CLOSED  -->
2005-04-17 13:42:45 :  

office2

C:\office2.log
Detected Windows Info:
 PlatformId = 2
 MajorVersion = 5
 MinorVersion = 1
 ServicePackLevel = 2
- - - - - - - - - - - - - - - - - - - - - - -
Launch Setup
4/17/2005 1:21:10 PM
Recognized command line switch qb
Recognized command line switch laceimow
** Switching to new log file passed on command line. **
4/17/2005 1:21:10 PM

Found property assignment: TRANSFORMS=C:\office
Found property name: shrunk\Unattended.MST, but did not find equal sign.
Failed to query chaining key for main task name.


***** Setup exits
4/17/2005 1:21:47 PM
(return = -203)

shink:

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

Thanks

RideGuy

EDIT: I had a space in my destination folder name (c:\office shrunk). When I took the space away (c:\officeshrunk) it worked great. Thanks for the help buckeye.

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