Page 1 of 1

DownloadUpdates.cmd cant download OFC GLB

PostPosted: 27.01.2015, 18:31
by Diggity747
I am attempting to script the download and install for all of my WIM and VHDX files. Below is the WSUS Offline Update portion of my powershell script:

Code: Select all
Invoke-Command -ScriptBlock {C:\wsusoffline\cmd\DownloadUpdates.cmd w61-x64 glb /includewddefs /nocleanup /verify}
Invoke-Command -ScriptBlock {C:\wsusoffline\cmd\DownloadUpdates.cmd w63-x64 glb /includewddefs /nocleanup /verify}
Invoke-Command -ScriptBlock {C:\wsusoffline1\cmd\DownloadUpdates.cmd o2k10 enu  /nocleanup /verify}
Invoke-Command -ScriptBlock {C:\wsusoffline1\cmd\DownloadUpdates.cmd o2K13 enu  /nocleanup /verify}

CMD Line functionality does not seem to be well documented. First i am looking to find out if this is the proper method calling each product separately or if this can be done with one command. Secondly this does not seem to download OFC GLB updates which are a majority of the updates for office. However there is no GLB language switch. If I run Office 2010 or 2013 ENU from the GUI both ENU and GLB updates are downloaded.

Very awesome product that i'm excited to get a better understanding of, just working to automate my image patching as much as possible. Thanks for any help in advance.

Re: DownloadUpdates.cmd cant download OFC GLB

PostPosted: 27.01.2015, 20:58
by harry
Welcome Diggity747!

Please see viewtopic.php?f=7&t=120#p423

Excerpt:
Code: Select all
for %%i in (ofc) do (
  echo Downloading updates for %%i glb...
  call DownloadUpdates.cmd %%i glb /verify
)
for %%i in (oxp o2k3 o2k7) do (
  for %%j in (deu enu) do (
    echo Downloading updates for %%i %%j...
    call DownloadUpdates.cmd %%i %%j /verify
  )
)


So I think you have to change your script to:
Code: Select all
Invoke-Command -ScriptBlock {C:\wsusoffline\cmd\DownloadUpdates.cmd w61-x64 glb /includewddefs /nocleanup /verify}
Invoke-Command -ScriptBlock {C:\wsusoffline\cmd\DownloadUpdates.cmd w63-x64 glb /includewddefs /nocleanup /verify}
Invoke-Command -ScriptBlock {C:\wsusoffline1\cmd\DownloadUpdates.cmd ofc glb  /nocleanup /verify}
Invoke-Command -ScriptBlock {C:\wsusoffline1\cmd\DownloadUpdates.cmd o2k10 enu  /nocleanup /verify}
Invoke-Command -ScriptBlock {C:\wsusoffline1\cmd\DownloadUpdates.cmd o2K13 enu  /nocleanup /verify}

Re: DownloadUpdates.cmd cant download OFC GLB

PostPosted: 27.01.2015, 21:51
by Diggity747
Harry thanks for the assistance, this indeed achieved what i was looking for. Great link to further documentation as well. :D