Deploying Windows 7 + Office 2010 Using Microsoft Deployment Toolkit (MDT) 2010 – Part II

Other posts in this series:

Deploying Windows 7 + Office 2010 Using Microsoft Deployment Toolkit (MDT) 2010 – Part I

Deploying Windows 7 + Office 2010 Using Microsoft Deployment Toolkit (MDT) 2010 – Part III

After completing the first post of this series where we’ve installed and configured MDT 2010 Update 1, added a Windows 7 clean image to the Deployment Share and created the Task Sequence to deploy it; in this second part of “Deploying Windows 7 + Office 2010 using Microsoft Deployment Toolkit (MDT) 2010” we are going to work with Microsoft Office 2010 application.

In this post we will add Microsoft Office 2010 as an application in our Deployment Share, and configure the environment to achieve a silent and unattended installation for this suite.

The unattended possibilities for deploying applications in MDT always depend on the application we are using, fortunately Microsoft Office is highly prepared to accomplish this unattended installation, and with the possibility to customize it by easily selecting the features we would like to install in Config.xml answer file.

Adding Microsoft Office 2010 to MDT

Adding applications to Microsoft Deployment Toolkit 2010 requires only running a simple wizard which should not be any problem.


We do need of course the Microsoft Office 2010 binaries, and since we would like to use the unattended possibilities complemented with MDT 2010, we are going to need the installation files we can find in the Office 2010 DVD.

The stand alone installer (for example: en_office_professional_plus_2010_x64_515489.exe) can be used but we cannot edit the properties in MDT console.

Let’s start with the wizard:

1. In the MDT console, expand the Distribution Share we’ve created right-click “Applications” and select “New Application”.


2. Select “Application with source files” and click on “Next”.


3. Complete the information for this new application and click on “Next”.


4. Select the source directory where we can find the “setup.exe” file.


In my case I’m using the DVD which contains the x86 and x64 versions, since we can only add one architecture at a time, you must select one sub folder. And considering we are deploying a 64-bit operating system, I’m going to install the 64-bit Microsoft Office 2010 version.

5. Specify the directory name to be stored, in my case “Microsoft Office 2010 x64”. Click on “Next”.


6. In “Command Line” type “setup.exe” for the installer file to be executed, the “Working directory” can be left with the default option.


7. In “Summary” review the options selected and click on “Next”.


The importation process will start and should not take much longer.

8. Once completed, click on “Finish”.


With the application added we can double click it to access its properties.


As you can see importing a Microsoft Office product includes a tab in the MDT properties called “Office Products” which contains options to simplify the unattended process.


Configuring Office 2010 Unattended Installation

Now that we have the application imported, we can configure a silent, unattended and customized installation of Microsoft Office 2010 within a few steps:

1. In the properties section, select the “Office Products” tab.

2. Select the following options and click on “Apply”:

Office product to install”: The version you are using, in my case Professional Plus “ProPlus”.
Office languages”: Language available, in my case “en-us”.
Product Key”.
Customer Name”.
Display Level”: “None”. With this, in the installation process we won’t see any window running.
Accept EULA”: Enabled.
Always suppress reboot”: Enabled.


All these options are stored in one file: Config.xml; which is used of course as an answer file for the unattended installation for Office 2010. In this file we must also set the features we would like to install, and the type of installation.

For more information, take a look to this link: Config.xml file OptionState ID values for Office 2010.

3. Click on “Edit Config.xml” to view and edit the unattended installation file. You will see something like this:


We are going to edit this adding the features we would like to install. Here’s an example of the Config.xml file I’ll be using in this series, download it in this link.

I’m ignoring the lines with “<!—” since they are used for comments and examples.

<Configuration Product=”ProPlusr”>
<Display Level=”None” CompletionNotice=”No” SuppressModal=”No” AcceptEula=”Yes” />
<COMPANYNAME Value=”Augusto Alvarez” />
<Setting Id=”SETUP_REBOOT” Value=”Never” />
<AddLanguage Id=”match” />
<AddLanguage Id=”en-us” ShellTransform=”Yes” />
<PIDKEY Value=”xxxxxxxxxxxxxxxxxxxxxxxxx” />
<OptionState Id=”AccessFiles” State=”absent” Children=”force” />
<OptionState Id=”ExcelFiles” State=”Local” />
<OptionState Id=”GrooveFiles” State=”Absent” Children=”force” />
<OptionState Id=”OneNoteFiles” State=”Local” Children=”force” />
<OptionState Id=”OUTLOOKFiles” State=”Local” />
<OptionState Id=”PPTFiles” State=”Local” />
<OptionState Id=”PubPrimary” State=”Absent” Children=”force” />
<OptionState Id=”WORDFiles” State=”Local” />
<OptionState Id=”XDOCSFiles” State=”Absent” Children=”force” />
<OptionState Id=”SHAREDFiles” State=”Local” />
<OptionState Id=”TOOLSFiles” State=”Local” />
<OptionState Id=”EXCELFiles” State=”Local” />

In this example the following features are being installed: Word, Excel, OneNote, Outlook, Office Tools (like Office Picture Manager, HTML source editor, etc.) and Shared Files. All of this is using the “Local” type of installation, which in this scenario is usually a better choice than “Install on first use”.


Adding Office 2010 to the Task Sequence

With the application imported and the unattended file in place, we just need to edit the Task Sequence we’ve created in the first post to use this application.

1. Expand the Distribution Share, “Task Sequences” and double click on the task sequence we’ve created earlier “Deploy Windows 7 Clean Image”.


2. In the last phase of the task sequence, “State Restore”, click on “Install Applications” and select “Install a single application” where you can select Office 2010 using the “Browse…


With that, we have Microsoft Office 2010 64-bit added to MDT 2010 and configured for a customized and unattended installation within our Windows 7 deployment process.

In the next post, we will not only deploy this Windows 7 + Office 2010 but we will also prepare for an automated capture of this image and upload it to our MDT 2010.

Other posts in this series:

Deploying Windows 7 + Office 2010 Using Microsoft Deployment Toolkit (MDT) 2010 – Part I

Deploying Windows 7 + Office 2010 Using Microsoft Deployment Toolkit (MDT) 2010 – Part III


  1. Thanks for the excellent guide to using MDT! Just wanted to add the following for users who don’t have the Office install disc..

    The stand alone installation file (for example, X17-22376.exe) can be extracted to provide access to all of the files and directories on the installation media.

    To do this, open a prompt and use the following command:

    c:\source\directory\[Your source installation file].exe /extract:c:\target\directory

    The same method can used to extract the latest service pack file and place them in the “updates” folder of your Office installation.

  2. yes good work but the common point for me is that where do we add the files into config.xml files ??? maybe this is question is rubbish

  3. hi,

    First of all, great job on the tutorial, it was really useful, thanks alot.

    Does anyone know how to leave the bitlocker step out of the wizard?
    All other steps are ok, like time zone, admin pass, domain,… cause i make use of those, but i dont use bitlocker so i’d like to get that step removed from the setup wizard.
    Please let me know if you have any ideas.

    Best regards,


  4. Hi, as the others have said, great tutorial, thanks :)
    I’m wondering if anyone else has had the same problem as I’ve had (or might know a solution).
    Everything works fine up until I deploy Windows for the first time.
    PXE boot is fine, and the Litetouch wim file loads. I can go through the steps of choosing a language, adding a password, adding a capture image location etc. and it continues through the task sequence.
    Formats the drive, and starts the windows installation:
    Copying windows files…
    Extracting windows files…

    But then the pc reboots (can’t remember if that’s usual at this part of the installation), and when it reboots it won’t continue with the installation, get an error saying no OS installed, and then it try’s to PXE boot again.

    Does this sound familiar to anyone?

  5. I keep getting “Setup Error: The setup configuration file ….. config.xml is not valid. Verify this file is formatted correctly and run setup again”. I have copied your settings (changed the Company Name though) and checked it again, and cannot see where there may be an error.

  6. Hi Augusto…is there anyway we can just install applications after installing the Operating System using MDT 2010. Please let me know.

  7. Thanks Augusto for this post series!
    Kenneth, you can disable Bitlocker in the Task Sequence properties.
    Open Task Sequences folder. Select the task you want to disable Bitlocker and open it. Go to the “Task Sequence” tab.

    Expand “PreInstall”.
    Select “Enable Bitlocker (Offline)”. Now, at the right, go to the “Options tab”.
    Select “Disable this step”.

    Do the same at “State Restore”.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s