Page 1 of 1

Automating Office Updates (DISM/MDT)

PostPosted: 26.02.2016, 12:05
by metz
Hi All,

Not sure if this is the right forum but I am looking for some help with adding Office updates to an offline WIM.

I can use DISM to apply the Windows updates to my WIM images but I am not sure how to add the Office updates.
However using DISM /Add-Package -> Office update directory fails.

Looking into this further, I found that under the Microsoft Deployment Toolkit (MDT), my Office application folder has an 'Update' folder.
Do I need to extract all the .CAB files downloaded by WSUSOffline and place the .MSP files in the Update folder?

Also can this be automated using the .CSV file created by WSUSOffline?

Thank you

Re: Automating Office Updates (DISM/MDT)

PostPosted: 26.02.2016, 20:01
by aker
How did you create a WIM file with Office inside?

The only way of integrating Office Updates is to place the .msp-files into the "updates"-folder of an Office setup.

You may add wsusou to your AutoRun, this would update Office.

Re: Automating Office Updates (DISM/MDT)

PostPosted: 29.02.2016, 09:53
by metz
Hi Aker,

The WIM was created by setting up a system as we need it (Office, Company Apps, IE Settings ect.) and then the capture was taken after running sysprep.
I also extracted the Office install into MDT and noticed the update folder, so I was thinking of updating the task sequence to install the updated automatically.

Re: Automating Office Updates (DISM/MDT)

PostPosted: 29.02.2016, 10:10
by aker
My suggestion:
Do not include Office in your captured WIM, instead install it using MDT. Then the Office setup will apply all .msp-files inside the updates-folder.

Re: Automating Office Updates (DISM/MDT)

PostPosted: 29.02.2016, 20:42
by Cababs
if you want to add Office updates to the installation source use this code and change to suit

Code: Select all
TITLE Microsoft Office 2007 x86 Slipstreamer

'Variables
SET WOU_O2k7SP="H:\Updates\wsusoffline\client\o2k7\enu"
SET WOU_O2k7="H:\Updates\wsusoffline\client\o2k7\glb"
SET TempDir="D:\Microsoft Office 2007 - Enterprise\Updates"

CLS
@echo off
ECHO.
ECHO Slipstreaming Microsoft Office 2007 x86 Service Packs
ECHO Please wait...

cd %WOU_O2k7SP%
echo %cd%

FOR %%f IN (*.exe) DO %%f /quiet /norestart /extract:%TempDir%

echo.
ECHO Slipstreaming Microsoft Office 2007 x86 Updates
ECHO Please wait...

cd %WOU_O2k7%
echo %cd%

FOR %%f IN (*.exe) DO %%f /quiet /norestart /extract:%TempDir%
ECHO.
ECHO Slipstreaming Completed!
ECHO.



I use this in a MDT environment along with WOU. this means that when I install to a new pc I would have the most up to date version.

if you need other version let me know.