Help running Office 2003 SP1 with VBscript

N

Netace44

Hi,

I have just started to get involved in scripting, I am currently
working on a script to copy Office 2003 SP1 to a local computer from a
server and run it silently. Here is what I have done so far, but it
does not seem to be running the install. Can anyone give me a hand, it
would be greatly appreciated.

Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.CopyFile
"\\SERVERNAME\support$\DSS\Temp\Office2003SP1-kb842532-fullfile-enu.exe" ,
"C:\pkgdirs\", OverwriteExisting

Const ALL_USERS = True

Set objService = GetObject("winmgmts:")
Set objSoftware = objService.Get("Win32_Product")
errReturn =
objSoftware.Install("c:\pkgdirs\Office2003SP1-kb842532-fullfile-enu.exe /q",
, ALL_USERS)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top