regedit problem with vbs script



Since last weeks, I see in the registry TeamViewer is not installed in


but in


I use a vbs script with ocsinventory, I changed the path in the vbs but it's not working anymore

Why TeamViewer is not installed in Wow6432Node ?

I have donwloaded the last version, change nothing

Is it a problem of lastest version of TeamViewer or Windows ?

Below the vbs script wortking well with computers before this summer

Set WshShell = CreateObject("Wscript.Shell")

Dim RegTVClientID,RegTVVersion

Dim arrSubKeys(3,2)

arrSubKeys(0,0) = "TeamViewer"

arrSubKeys(0,1) = "HKEY_LOCAL_MACHINE\Software\Wow6432Node\TeamViewer\ClientID"

arrSubKeys(0,2) = "HKEY_LOCAL_MACHINE\Software\Wow6432Node\TeamViewer\Version"

For x = LBound(arrSubKeys, 1) To UBound(arrSubKeys, 1)

   RegTVClientID = WshShell.RegRead( arrSubKeys(x,1) )

   RegTVVersion = WshShell.RegRead( arrSubKeys(x,2) )

   If Not IsNull(RegTVClientID) AND RegTVClientID <> "" Then

      'MsgBox RegTVClientID, vbInformation

      'MsgBox RegTVVersion, vbInformation

      Wscript.Echo "<TEAMVIEWER>"

      Wscript.Echo "<TVCLIENTID>" & RegTVClientID & "</TVCLIENTID>"

      Wscript.Echo "<TVVERSION>" & RegTVVersion & "</TVVERSION>"

      Wscript.Echo "</TEAMVIEWER>"

      Exit For

   End If


Thanks for your help