Jumat, 01 April 2011

Make Little Office 2003

Slipstream Office 2003 Service Pack 3 installation point, Office 2003 will be installed at Service Pack 3 level saving you the trouble of applying it afterwards. All you need is Office 2003 Service Pack 3 and the installation CD of Office 2003.

1. Download the administrative version of Office 2003 SP3 and save it to C:\ (click here for a different language than English)
2. Extract the Office2003SP3-KB923618-FullFile-ENU.exe file to C:\o2k3sp3a
Start-> Run and type;
C:\Office2003SP3-KB923618-FullFile-ENU.exe /t:c:\o2k3sp3a /c
3. Insert your Office 2003 CD and make an administrative installation point to C:\o2k3
To do this open the Run command again and type;
D:\setup.exe /a (where D:\ is your CD-ROM drive)
4. When the installation point is created open the Run command again and type*:
msiexec /a C:\o2k3\pro.msi /p C:\o2k3sp3a\MAINSP3.msp
5. When the update is finished you can write the content of C:\o2k3 to CD and you’ll have an Office 2003 SP3 slipstreamed CD!


Note 1: You can append /qb+ to the preceding command line to avoid receiving the Office 2003 Administrative Installation dialog box and the End User License Agreement dialog box.
Note 2: You can follow these instructions as well to include the hotfixes

*Replace with your msi name. Just a quick list to get the idea;
pro.msi = Office 2003 Professional
proret.msi= Office 2003 Professional Retail
std.msi = Office 2003 Standard
stdret.msi= Office 2003 Standard Retail
sberet.msi = Office 2003 Small Business Retail

You need :
- Office 2003 Original Full source from CD.
- Office 2003 SP2. Here
- KB904631 Outlook 2003.Here
- buckeyeXP's Office Shrinker
- Microsoft Office 2003 Resource Kit. Here
- 7zip . Here
- A reshacked version of 7zS.sfx module. Info Here
- Not mandatory but very handy "Open Cmd Here Powertoy". 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 complete step 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:\SP2Splitstream: (cmd prompt from c:\SP2)msiexec /p MAINSP2ff.msp /a C:\O2K3\PRO11.msi SHORTFILENAMES=TRUE /qbmsiexec /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:\SP2Splitstream: (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:
- 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:\" .

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

Results at this stage: 156mb

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

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. More Information Here.

- Other Links :
Office 2003 Resource Kit Downloads
Description of Office 2003 Service Pack 2
Preparing to deploy Office 2003

Related Post :



0 comments:

R