The UpdateGenerator.exe needs to be recompiled with AutoIt, using more source files from the trunk version:
http://trac.wsusoffline.net/browser/trunk/IncludeThis needs to be done in the next version update. Until then, you could create the ISO image on the command-line, from the wsusoffline/cmd directory:
- Code: Select all
CreateISOImage.cmd ofc glb
But I'm not sure, if the suggested rearrangement is really the best solution: Should the UpdateGenerator create language specific ISO images for Office updates? I thought, that all Office Updates are just copied together into one ISO image, since most updates are in the ofc glb directory. Maybe language specific ISO images were rather meant for Windows 2000 and Windows XP?
Otherwise, the first condition using an "OR":
- Code: Select all
; Global
If (IsLangOfficeChecked() OR IsCheckBoxChecked($o2k16_glb)) Then
If RunScripts("ofc glb", IsCheckBoxChecked($imageonly), DetermineDownloadSwitches($includesp, $dotnet, $seconly, $msse, $wddefs, $verifydownloads, AuthProxy($proxy, $proxypwd), $wsus), False, DetermineISOSwitches($includesp, $dotnet, $msse, $wddefs, $usbclean), False, GUICtrlRead($usbpath)) <> 0 Then
ContinueLoop
EndIf
EndIf
could be rewritten with an "If ... ElseIf ... EndIf" like:
- Code: Select all
; Global
If (IsLangOfficeChecked()) Then
If RunScripts("ofc glb", IsCheckBoxChecked($imageonly), DetermineDownloadSwitches($includesp, $dotnet, $seconly, $msse, $wddefs, $verifydownloads, AuthProxy($proxy, $proxypwd), $wsus), False, DetermineISOSwitches($includesp, $dotnet, $msse, $wddefs, $usbclean), False, GUICtrlRead($usbpath)) <> 0 Then
ContinueLoop
EndIf
ElseIf IsCheckBoxChecked($o2k16_glb)) Then
If RunScripts("ofc glb", IsCheckBoxChecked($imageonly), DetermineDownloadSwitches($includesp, $dotnet, $seconly, $msse, $wddefs, $verifydownloads, AuthProxy($proxy, $proxypwd), $wsus), IsCheckBoxChecked($cdiso), DetermineISOSwitches($includesp, $dotnet, $msse, $wddefs, $usbclean), False, GUICtrlRead($usbpath)) <> 0 Then
ContinueLoop
EndIf
EndIf
This way, it creates the ISO image for Office 2016, but does not affect the other Office versions.