Office 2013 x64 mis-identified

Re: Office 2013 x64 mis-identified

Postby luxor » 16.08.2014, 14:53

Denniss wrote:http://stackoverflow.com/questions/2203980/detect-whether-office-2010-is-32bit-or-64bit-via-the-registry

Lots of approaches to detect 32/64Bit but not all seem to work due to the multitude of office versions and custom installs without Outlook.


From my (old) coding background.. isn't there a better way to scan for Office exe's like winword and/or others and determine te arch type by exe header types ? Although Microsoft itself seems be able to do it properly ... ? :?

http://superuser.com/questions/358434/how-to-check-if-a-binary-is-32-or-64-bit-on-windows

Extra question : if wsusoffline only does SP's and critical updates, would it be possible to add the possibility to collect ALL updates ? So you have the 'complete update collection' of selected products ?
luxor
 
Posts: 20
Joined: 13.08.2014, 16:52

Re: Office 2013 x64 mis-identified

Postby WSUSUpdateAdmin » 16.08.2014, 17:25

Hi.

boco wrote:Couldn't we safely assume that on an x64 system with Office installed in Program Files, it must be an x64 version? 32bit versions usually install into Program Files (x86), AFAIK the 64bit version uses both.

Of course, mixed installations would blow up all detection attempts...


Edit: Maybe it's possible to detect through a WMIC call? Like 'WMic product list' that shows installed programs?


Short: Thanks, thought about a similar way to improve the ofc arch detection. Will check in soon.

Cheers
Torsten
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38

Re: Office 2013 x64 mis-identified

Postby boco » 16.08.2014, 18:14

luxor wrote:
boco wrote:WSUSOU only installs security-critical updates. Optional, feature and non-critical patches aren't listed in MS' catalog and thus left out.


OK, but the ones you see are 'belangrijk' which is dutch for important or critical, don't know exactly what the ENU version of Windows states there in WU... It are certainly no 'additional' updates..

I didn't see the image, sorry (my system blocks elements from third-party servers by default). You must know that even many 'Important' updates are not included in the catalog. The catalog does not satisfy Windows Update, but it should satisfy the MSBA. Thus, check with MSBA; if that one says 'OK' WSUSOU worked.

Extra question : if wsusoffline only does SP's and critical updates, would it be possible to add the possibility to collect ALL updates ? So you have the 'complete update collection' of selected products ?
Only manually. MS doesn't provide a catalog with all patches included.
Microsoft update catalog: http://catalog.update.microsoft.com/v7/site/
Windows Install media download: https://support.microsoft.com/en-us/help/15088/windows-create-installation-media
boco
 
Posts: 2398
Joined: 24.11.2009, 17:00
Location: Germany

Re: Office 2013 x64 mis-identified

Postby luxor » 16.08.2014, 19:53

Ah ok, no problem. So besides WSUSO, WU is still a 'must'.

Anyway, WSUSO is a great tool, and now the x64 office issue is 'fixed', there is not much more you can add if MS doesn't supply the necessary resources...

Great work, keep it up :-)

Thx for the support.
luxor
 
Posts: 20
Joined: 13.08.2014, 16:52

Re: Office 2013 x64 mis-identified

Postby WSUSUpdateAdmin » 17.08.2014, 10:35

Best documentation: The code! :)

Old version:
Code: Select all
Private Function OfficeArchitecture(objShell, strVersionInfix)
Dim strRegVal

  OfficeArchitecture = "x86"
  strRegVal = RegRead(objShell, strRegKeyOfficePrefix_Mx86 & strVersionInfix & strRegKeyOfficeSuffix_Outlook & strRegValOfficeArchitecture)
  If strRegVal <> "" Then
    OfficeArchitecture = strRegVal
  End If
End Function


New version:
Code: Select all
Private Function OfficeArchitecture(objShell, strOSArch, strVersionInfix, strOfficeInstPath)
Dim strRegVal

  OfficeArchitecture = strOSArch
  If strOSArch = "x86" Then
    Exit Function
  End If
  strRegVal = RegRead(objShell, strRegKeyOfficePrefix_Mx86 & strVersionInfix & strRegKeyOfficeSuffix_Outlook & strRegValOfficeArchitecture)
  If strRegVal <> "" Then
    OfficeArchitecture = strRegVal
    Exit Function
  End If
  If InStr(strOfficeInstPath, "x86") > 0 Then
    OfficeArchitecture = "x86"
    Exit Function
  End If
End Function
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38

Re: Office 2013 x64 mis-identified

Postby WSUSUpdateAdmin » 18.08.2014, 08:29

WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38

Re: Office 2013 x64 mis-identified

Postby luxor » 18.08.2014, 13:33

WSUSUpdateAdmin wrote::arrow: http://trac.wsusoffline.net/browser/trunk (r609).
GT


Can I copy them over my existing WSUSO folder or should I wait for the next release ? ;)
luxor
 
Posts: 20
Joined: 13.08.2014, 16:52

Re: Office 2013 x64 mis-identified

Postby WSUSUpdateAdmin » 18.08.2014, 15:12

Hi.

You can download it using http://trac.wsusoffline.net/changeset/6 ... format=zip and you may want to have a look at viewtopic.php?f=7&t=43.

RTW
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38

Previous

Return to Installation / Updating

Who is online

Users browsing this forum: No registered users and 48 guests