The following vbscript is a concise example of how to determine if a Windows machine has a wow6432node in its registry:
*************************************************************************************************************************
' Determine if computer is x64 by the existence of the HKLM\SOFTWARE\Wow6432Node registry key
Const HKLM = &H80000002
Dim strRootKeyPath, arrSubKeys
Set objRegistry=GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\default:StdRegProv")
strRootKeyPath = "SOFTWARE\Wow6432Node"
objRegistry.EnumKey HKLM, strRootKeyPath, arrSubKeys
if IsNull(arrSubKeys) Then
strAdobePath = "SOFTWARE"
Wscript.echo "empty"
else
strAdobePath = "SOFTWARE\Wow6432Node"
Wscript.echo "not empty"
End If
*************************************************************************************************************************
Thanks for your feedback. Let us know if you have additional comments below. (requires login)