Page 1 of 1

Vista 64 - 32 Bit Registry Node

Posted: Wed Feb 10, 2010 9:19 am
by ChrisN
Hi.

I need to write some registry entries to the Wow6432Node on Windows Vista (64 Bit).

The following code works perfect on Windows 7 (64 Bit):
Write Registry Key HKLM\\SOFTWARE\\Wow6432Node\\ODBC\\ODBCINST.INI\\$OdbcDriverName$\\Driver, $OdbcDriverPath$\\dbodbc10.dll

But on Windows Vista (64 Bit) the installer isn't writing to the Wow6432Node. It always sets the 64 Bit key:
Write Registry Key HKLM\\SOFTWARE\\ODBC\\ODBCINST.INI\\$OdbcDriverName$\\Driver, $OdbcDriverPath$\\dbodbc10.dll

Any ideas?

Best regards.