No announcement yet.

Need help with finding Registry values

  • Filter
  • Time
  • Show
Clear All
new posts

  • Need help with finding Registry values

    I am trying to have my SetupFactory file determine the version of MS Access (32 or 64 bit) installed by a Registry value. I have realized that Microsoft stores the X86 / X64 bitness value in different places depending on the version of MS Office. What I think is consistent is that if it is a 32 bit version - MS Access.exe is stored in a folder in the C:\Program Files (x86) folder. If it is 64 bit then it is in the C:\Program Files folder. I have tried to figure out how to use the Registry.GetValue code to find the program using Registry.GetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\WOW6432Node\Microsoft\Office\14.0\Access \InstallRoot", "path", true); but obviously I am not entering something right. Can anyone give me an idea? Thanks. Margaret

  • #2
    I have a couple of scripts, which I pulled from two of my dependencies. In order to make cross-platform checks, you will need the Wow64 plugin.
    It may be required to add code for newer releases of Office, Access, and/or runtimes.

    Attached Files


    • #3
      Hello Ulrich,

      Thanks for these. I'm not sure I know what to do with them but I will look into it. I appreciate the help.