OfficeDev/Office-IT-Pro-Deployment-Scripts

using Download-OfficeProPlusChannels with multiple languages

ievsantillan opened this issue · 1 comments

i've found that when using the Download-OfficeProPlusChannels function to download more than one language (ie: Download-OfficeProPlusChannels -Channels Current,Deferred -TargetDirectory "\server\updateshare" -Languages en-us,fr-fr -Bitness v32), you'll need to ensure that your language combination is added to the ValidateSet.

    [Parameter()]
    [ValidateSet("en-us","MatchOS","ar-sa","bg-bg","zh-cn","zh-tw","hr-hr","cs-cz","da-dk","nl-nl","et-ee","fi-fi","fr-fr","de-de","el-gr","he-il","hi-in","hu-hu","id-id","it-it",
                "ja-jp","kk-kz","ko-kr","lv-lv","lt-lt","ms-my","nb-no","pl-pl","pt-br","pt-pt","ro-ro","ru-ru","sr-latn-rs","sk-sk","sl-si","es-es","sv-se","th-th",
                "tr-tr","uk-ua","vi-vn", **"en-us,fr-fr"**)]

i am also seeing some files get missed downloading when used w/ multiple languages
all i am getting is :

  • Experiment
  • 1320.cab
  • 1640.cab
  • s320.cab
  • steam.x86.x-none.dat

but what i should be getting:

  • i320.cab
  • i321033.cab
  • i321036.cab
  • i640.cab
  • i641033.cab
  • i641036.cab
  • s320.cab
  • s321033.cab
  • s321036.cab
  • stream.x86.en-us.dat
  • stream.x86.fr-fr.dat
  • stream.x86.x-none.dat

maybe the script doesn't support the current server configuration as most of the work is done through the ODT Tool, plus this repo is now retired as said in the main Readme.md