Packaging Individual Features of Microsoft Office 2010
Recently I came across packaging of individual features of Microsoft Office 2010 like Access 2010, Word 2010, Excel 2010 etc...
This packaging method is slightly different from the standard MS Office 2010 packaging. So I thought I will share this with you guys so that if it will be helpful in case you haven't done yet.
Office Customization Tool [OCT] is used for packaging/customizing MS Office 2010 by creating PATCHES which will be created and copied to UPDATES folder. All the patches [setup.msp] inside UPDATES folder will be executed during MS Office 2010 installation in an alphabetical order.
In commandline, navigate to the folder where SETUP.EXE reside and execute the following command to run OCT:
It open up with OCT GUI as follows:
Click on OK to create a new PATCH.
Scenario 1: MS Office 2010 is already installed on the machine without MS Access 2010
Requirement 1: Create a Package that will install only Access 2010
In this scenario where MS Office 2010 is already installed on the machine and there is no MS Access 2010. We need to create a package [PATCH] in which only Access 2010 feature is set to "Run from the computer" and make sure to disable all other features. Check the following screenshot:
Now save the PATCH and name it as MSAccess2010_Install.msp, just to reflect in the naming conventions. You can execute the PATCH directly on the machine where you have MS Office 2010 is installed. The PATCH will install only MS Access 2010 on the target machine.
In the same way, we can creaye PATCHES for individual feature installations. Check the following:
Scenario 2: MS Office 2010 is already installed on the machine with all the features
Requirement 2: Create a Package that will uninstall only a particular feature Access 2010
In this scenario we need to create a PATCH with only Access 2010 feature disabled in it. Check the following screenshot for more information:
Now save the PATCH and name it as MSAccess2010_Uninstall.msp, just to reflect in the naming conventions. You can execute the PATCH directly on the machine where you have MS Office 2010 with all the features is installed. The PATCH will now uninstall only MS Access 2010 from the target machine.
This way you can customize the individual feature installation and uninstallation. You can directly execute the PATCH in the commandline. You can use the same commandline options as MSI.
MSIEXEC /I <PATH_TO_MSAccess2010_Install.msp> /QB!
MSIEXEC /I <PATH_TO_MSAccess2010_Uninstall.msp> /QB!
You can also create a Wise script to install the PATCH in silent mode and also you can display a progress bar with customized message to the end user. For more information of how to create a wise script, please refer to the following article: