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)
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)