Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have over two dozen separate KB updates for Office 2007 with no internet access for Windows Update.

Is there some way I can script or batch install the updates one right after another with no user input?

share|improve this question

It can be done with a batch file, some info here, its called chaining hotfixes. It should work for Office updates also

share|improve this answer
up vote 0 down vote accepted

I think these are the best options so far:

@echo off
del %temp%\oupdates.txt /q
for /f "delims=-; tokens=1,2,3,4,5" %%i in ('dir /b *kb*.exe') do echo %%j-%%i-%%k-%%l-%%m >> %temp%\oupdates.txt
for /f "delims=-; tokens=1,2,3,4,5" %%i in ('type %temp%\oupdates.txt') do %%j-%%i-%%k-%%l-%%m /log:%temp%\officeupdates.log /passive /norestart
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.