Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

automate office 2007 service pack 1 1

Status
Not open for further replies.

VandanaGoel

Programmer
Jan 29, 2009
1
AU
I have a vbscript to automate office 2007 deployment. And its working fine but now I m working to create a vbscript to automate installation of office 2007 service pack. But this script just execute the Office2007sp1.exe file. Can Anybody please tell me how can I automate the installation of office 2007 service pack 1.

Following is the vbscript that I am trying to execute:

Set wShell = CreateObject("WScript.Shell")
wShell.run "R:\PROGRAMS\software\Office2007\office2007sp1\office2007sp1.exe"
Set wshell=nothing
WScript.sleep 10000


Thanks
 
I think you are making things too hard on yourself. Use WSUS.

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
 
I tend to agree with Mark on this one.

But... if you're running Office2007Sp1.exe from a command line, what happens? Does it just extract the files or does it install the service pack? If it just extracts, you would need to put the extracted files on a share, then run the update.exe from the extracted files to install the sp.

Do you have to put any switches to get it to install? If so, you would need to add those switches to your shell.run

h
 
Another option is to use AD to push it out.
faq96-4996

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top