Announcement

Collapse
No announcement yet.

Accessing Wow64.KEY32 in an x64 installer

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Accessing Wow64.KEY32 in an x64 installer

    In an x86 installer I can use Wow64.RegistryGetValue to access either the Wow64.KEY64 or the Wow64.KEY32 Registry tree. However is there a way of doing that in an x64 installer? The Wow64 Plugin only works with x86 installers. By default Registry.GetValue accesses the 64-bit tree in an x64 installer.

  • #2
    Please decompress this into the Wow64 plugin folder and let me know if this works as desired.

    Ulrich
    Attached Files

    Comment


    • #3
      Seems to work as expected. On a related note, I know I can use System.Is64BitOS() to determine whether the setup is running on an x86 or x64 OS. However, is there a way to determine whether the setup itself is a 32-bit or 64-bit EXE? There does not appear to be an API, Global Variable or Session Variable that tells that.

      Comment


      • #4
        You could set a variable, using a build constant. If you build your setup as a native x64 executable, set the variable to one value, building it as x86 with another.

        Ulrich

        Comment

        Working...
        X