Automating Office Updates (DISM/MDT)

Automating Office Updates (DISM/MDT)

Postby metz » 26.02.2016, 12:05

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
metz
 

Re: Automating Office Updates (DISM/MDT)

Postby aker » 26.02.2016, 20:01

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.
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to sell it.
aker
aker
 
Posts: 3403
Joined: 02.03.2011, 15:32

Re: Automating Office Updates (DISM/MDT)

Postby metz » 29.02.2016, 09:53

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

Re: Automating Office Updates (DISM/MDT)

Postby aker » 29.02.2016, 10:10

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.
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to sell it.
aker
aker
 
Posts: 3403
Joined: 02.03.2011, 15:32

Re: Automating Office Updates (DISM/MDT)

Postby Cababs » 29.02.2016, 20:42

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.
Notable Achievements
CompTIA A+
HNC Computing
Cababs
 
Posts: 176
Joined: 22.12.2013, 01:17


Return to Installation / Updating

Who is online

Users browsing this forum: Google [Bot] and 16 guests

cron