Office 2016 does not create iso!

Office 2016 does not create iso!

Postby harzwheel » 27.09.2016, 09:38

I have checked "Global (multilingual updates) for "Office 2016 (o2k16)" and "Create ISO image(s)" but after clicking on the "Start" button it begins to download and after finishing it closes the window without creating the ISO, I have checked the iso folder but nothing is there.

I was wondering if there is a bug or it should be like this.
If creating iso is not available for office 2016, how would it be possible to update office and which file should be run to launch the update procedure.

thanks in advance
harzwheel
 
Posts: 1
Joined: 27.09.2016, 09:17

Re: Office 2016 does not create iso!

Postby aker » 29.09.2016, 12:10

Could you post the content of .\log\download.log?
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to sell it.
aker
aker
 
Posts: 3071
Joined: 02.03.2011, 16:32
Location: %SystemRoot%\System32\Boot\winload.efi

Re: Office 2016 does not create iso!

Postby Worker » 03.05.2017, 11:41

I am facing the same issue with WSUS Offline v10.9.2. Here is my .log\download.log

Code: Select all
03-May-17 14:46:41.52 - Info: Starting WSUS Offline Update download (v. 10.9.2) for o2k16 glb
03-May-17 14:46:41.55 - Info: Option /includedotnet detected
03-May-17 14:46:41.63 - Info: Option /seconly detected
03-May-17 14:46:41.67 - Info: Option /includewddefs detected
03-May-17 14:46:42.08 - Info: Option /verify detected
03-May-17 14:46:42.13 - Info: Option /exitonerror detected
03-May-17 14:46:42.87 - Info: Set time zone to LOC-5:30
03-May-17 14:46:43.48 - Info: Preserved custom language and architecture additions and removals
03-May-17 14:46:49.82 - Info: Updated static and exclude definitions for download and update
03-May-17 14:46:49.82 - Info: Restored custom language and architecture additions and removals
03-May-17 14:46:50.63 - Info: Downloaded/validated mkisofs tool
03-May-17 14:46:51.53 - Info: Verified integrity of Windows Update catalog file
03-May-17 14:47:21.07 - Info: Downloaded/validated most recent Windows Update catalog file
03-May-17 14:47:49.20 - Info: Verified digital file signature of Windows Update catalog file
03-May-17 14:47:57.39 - Info: Created integrity database for Windows Update catalog file
03-May-17 14:47:57.47 - Info: Verified integrity of .NET Frameworks' installation files
03-May-17 14:47:57.47 - Info: Skipped download/validation of .NET Frameworks' files (x86) due to 'same day' rule
03-May-17 14:48:18.82 - Info: Verified integrity of C++ Runtime Libraries' installation files
03-May-17 14:48:18.82 - Info: Skipped download/validation of C++ Runtime Libraries' installation files due to 'same day' rule
03-May-17 14:48:25.87 - Info: Verified integrity of Windows Defender definition files
03-May-17 14:48:25.87 - Info: Skipped download/validation of Windows Defender definition files (x86) due to 'same day' rule
03-May-17 14:48:39.06 - Info: Found valid list of superseded updates
03-May-17 14:48:39.06 - Info: Verified integrity of existing updates for o2k16 glb
03-May-17 14:48:39.09 - Info: Skipped download/validation of o2k16 glb due to 'same day' rule
03-May-17 14:48:48.17 - Info: Ending WSUS Offline Update download for o2k16 glb
Attachments
WSUS Offline Update 10.9.2 - Generator.png
Option selected in WSUS Offline
(78.83 KiB) Not downloaded yet
Worker
 
Posts: 2
Joined: 03.05.2017, 11:27

Re: Office 2016 does not create iso!

Postby hbuhrmester » 03.05.2017, 15:00

It seems, that there is a bug in UpdateGenerator.exe, which prevents the creation of ISO images for Office 2016. In the source code UpdateGenerator.au3, it reads:

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


;  Global (Office 2016)
      If IsCheckBoxChecked($o2k16_glb) Then
        If RunScripts("o2k16 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


The fourth parameter determines the creation of ISO Images per selected product and language. It is set to "False" in both places. It should probably be replaced with a call to "IsCheckBoxChecked($cdiso)" in the first place. This is important, because the script CreateISOImage.cmd only recognizes "ofc" as a valid first parameter, not "o2k16":

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), IsCheckBoxChecked($cdiso), DetermineISOSwitches($includesp, $dotnet, $msse, $wddefs, $usbclean), False, GUICtrlRead($usbpath)) <> 0 Then
          ContinueLoop
        EndIf
      EndIf


;  Global (Office 2016)
      If IsCheckBoxChecked($o2k16_glb) Then
        If RunScripts("o2k16 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


But this means, that the fourth parameter must be set to "False" for all Office language specific switches. Otherwise the ISO image for ofc would be created twice:

Code: Select all
;  Office language specific
      If (IsCheckBoxChecked($o2k7_enu) OR IsCheckBoxChecked($o2k10_enu) OR IsCheckBoxChecked($o2k13_enu)) Then
        If RunScripts("ofc enu", True, DetermineDownloadSwitches($includesp, $dotnet, $seconly, $msse, $wddefs, $verifydownloads, AuthProxy($proxy, $proxypwd), $wsus), False, DetermineISOSwitches($includesp, $dotnet, $msse, $wddefs, $usbclean), IsCheckBoxChecked($usbcopy), GUICtrlRead($usbpath)) <> 0 Then
          ContinueLoop
        EndIf
      EndIf
      If (IsCheckBoxChecked($o2k7_fra) OR IsCheckBoxChecked($o2k10_fra) OR IsCheckBoxChecked($o2k13_fra)) Then
        If RunScripts("ofc fra", True, DetermineDownloadSwitches($includesp, $dotnet, $seconly, $msse, $wddefs, $verifydownloads, AuthProxy($proxy, $proxypwd), $wsus), False, DetermineISOSwitches($includesp, $dotnet, $msse, $wddefs, $usbclean), IsCheckBoxChecked($usbcopy), GUICtrlRead($usbpath)) <> 0 Then
          ContinueLoop
        EndIf
      EndIf
      If (IsCheckBoxChecked($o2k7_esn) OR IsCheckBoxChecked($o2k10_esn) OR IsCheckBoxChecked($o2k13_esn)) Then
        If RunScripts("ofc esn", True, DetermineDownloadSwitches($includesp, $dotnet, $seconly, $msse, $wddefs, $verifydownloads, AuthProxy($proxy, $proxypwd), $wsus), False, DetermineISOSwitches($includesp, $dotnet, $msse, $wddefs, $usbclean), IsCheckBoxChecked($usbcopy), GUICtrlRead($usbpath)) <> 0 Then
          ContinueLoop
        EndIf
      EndIf

; all other languages...


Then the order will be wrong, because the ISO image should be generated after downloading all updates; otherwise, new language specific ofc updates will be missing, if for example o2k10 and o2k16 are both selected. The final arrangement might be:

Code: Select all
;  Global (Office 2016)
      If IsCheckBoxChecked($o2k16_glb) Then
        If RunScripts("o2k16 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

;  Office language specific
      If (IsCheckBoxChecked($o2k7_enu) OR IsCheckBoxChecked($o2k10_enu) OR IsCheckBoxChecked($o2k13_enu)) Then
        If RunScripts("ofc enu", True, DetermineDownloadSwitches($includesp, $dotnet, $seconly, $msse, $wddefs, $verifydownloads, AuthProxy($proxy, $proxypwd), $wsus), False, DetermineISOSwitches($includesp, $dotnet, $msse, $wddefs, $usbclean), IsCheckBoxChecked($usbcopy), GUICtrlRead($usbpath)) <> 0 Then
          ContinueLoop
        EndIf
      EndIf
      If (IsCheckBoxChecked($o2k7_fra) OR IsCheckBoxChecked($o2k10_fra) OR IsCheckBoxChecked($o2k13_fra)) Then
        If RunScripts("ofc fra", True, DetermineDownloadSwitches($includesp, $dotnet, $seconly, $msse, $wddefs, $verifydownloads, AuthProxy($proxy, $proxypwd), $wsus), False, DetermineISOSwitches($includesp, $dotnet, $msse, $wddefs, $usbclean), IsCheckBoxChecked($usbcopy), GUICtrlRead($usbpath)) <> 0 Then
          ContinueLoop
        EndIf
      EndIf
      If (IsCheckBoxChecked($o2k7_esn) OR IsCheckBoxChecked($o2k10_esn) OR IsCheckBoxChecked($o2k13_esn)) Then
        If RunScripts("ofc esn", True, DetermineDownloadSwitches($includesp, $dotnet, $seconly, $msse, $wddefs, $verifydownloads, AuthProxy($proxy, $proxypwd), $wsus), False, DetermineISOSwitches($includesp, $dotnet, $msse, $wddefs, $usbclean), IsCheckBoxChecked($usbcopy), GUICtrlRead($usbpath)) <> 0 Then
          ContinueLoop
        EndIf
      EndIf

; all other languages...

;  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), IsCheckBoxChecked($cdiso), DetermineISOSwitches($includesp, $dotnet, $msse, $wddefs, $usbclean), False, GUICtrlRead($usbpath)) <> 0 Then
          ContinueLoop
        EndIf
      EndIf
hbuhrmester
 
Posts: 326
Joined: 11.10.2013, 21:59

Re: Office 2016 does not create iso!

Postby Worker » 03.05.2017, 19:21

Thanks for prompt response. I tried, but this workaround did not work.
Worker
 
Posts: 2
Joined: 03.05.2017, 11:27

Re: Office 2016 does not create iso!

Postby hbuhrmester » 04.05.2017, 02:03

The UpdateGenerator.exe needs to be recompiled with AutoIt, using more source files from the trunk version:
http://trac.wsusoffline.net/browser/trunk/Include

This 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.
hbuhrmester
 
Posts: 326
Joined: 11.10.2013, 21:59

Re: Office 2016 does not create iso!

Postby hbuhrmester » 04.05.2017, 10:59

The order will still be wrong: The downloads for "o2k16" need to be done before running the downloads for "ofc glb", because otherwise new downloads for "o2k16" would be missing in the ISO image for Office 2016.

Then the final solution might look like:

Code: Select all
;  Global (Office 2016)
      If IsCheckBoxChecked($o2k16_glb) Then
        If RunScripts("o2k16 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


;  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
hbuhrmester
 
Posts: 326
Joined: 11.10.2013, 21:59

Re: Office 2016 does not create iso!

Postby WSUSUpdateAdmin » 05.05.2017, 15:47

Moin!

Dankeschön, Hartmut, das sehe ich mir an.

Gruß & ein schönes Wochenende,
Torsten
WSUSUpdateAdmin
Administrator
 
Posts: 2123
Joined: 07.07.2009, 15:38


Return to Download

Who is online

Users browsing this forum: No registered users and 8 guests

cron