Hi,

I am using Wise Package Studio to create a custom IE8 package for WIndows 7 both 32 and 4 bit.  The script identifies the version of IE by looking for the registry key HKLM\Software\Microsoft\Internet Explorer\BrandGUID  .  For some reason it works perfectly on the 32 bit but not 64 bit - the same script.  It reports back a zero on 64 bit.  I have checked the registry key location manually on 64 bit and it is in exactly the same place and can be read.  I have tried getting a report from other keys in the same folder and it works.  Any ideas on this one?  I'm banging my head!!!

Answer Summary:
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

0

It's probably running as a 32bit process and trying to read it here:

HKLM\Software\Wow6432Node\Microsoft\Internet Explorer\BrandGUID 

Answered 11/01/2012 by: joeostrander
Third Degree Blue Belt

  • I checked that out before and all the other registry keys are duplicated in this location except BrandGUID strangely. I searched the entire registry for this key in case it was located elsewhere and there are no other instances of it. I'm tearing my hair out :)
  • If it doesn't exist in wow6432node, then it sounds like that's the problem (app running as 32bit). If your app/script is running 32bit on 64bit and the registry value you want only exists in the 64bit registry, then you need to force it to read the 64bit registry.

    As you may know....if the app/script is running 32bit, HKLM\Software = HKLM\Software\Wow6432Node.

    You can force your 32bit app/script to only check the 64bit reg in several ways. What type of script is it?
  • Using Wise Package Studio 8.0
    IE8 Install created with IEAK (32 bit version)
    Installing on Windows 7 Enterprise (64 bit version)

    The strange thing is that I can find the entry within the 64 bit registry manually. It just doesn't report back (or isn't seen) by Wise. The entry for both 32 and 64 bit is located at HKLM\Software\Wow6432Node\Microsoft\Internet Explorer\BrandGUID
  • Sorry, Correction to the last part of my last post - the registry key on Windows 7 32 and 64 bit is located at HKLM\Software\Microsoft\Internet Explorer\BrandGUID
  • Maybe I'm not understanding what you're saying... please correct me if I'm wrong on any of these facts:

    1) you have a value that exists in HKLM\Software\Microsoft\Internet Explorer\BrandGUID
    2) you do not have the value in HKLM\Software\Wow6432Node\Microsoft\Internet Explorer\BrandGUID
    3) the script you are using does not see the value

    If all these are true, then your script must be running as a 32bit process and therefore will look to HKLM\Software\Wow6432Node whenever HKLM\Software is referenced.

    Also... can you just change it to use HKLM\Software\Microsoft\Internet Explorer\Version?
    That value will exist regardless of whether the process is running as 32 or 64bit
  • ooh... 1 more question... why install IE8 on Win7 64bit? Win7 ships with IE8
  • You have all of the above correct. The reason I can't use version is because the installer for IE 8 is a corporate 'branding' installation. When the 'branding only' is applied, the version number of the IE8 installation does not change in the registry.
  • I think I have this solved. When I put the BrandGUID string into HKLM\Software\Wow6432Node\Microsoft\Internet Explorer\ manually, the script then reports correctly when I ask it to check HKLM\Software\Microsoft\Internet Explorer\BrandGUID. I can alter my script to tell the install to insert this entry if it finds a 64 bit OS version of Windows 7. What a headache this has given me!!!!!!
Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share