PDA

View Full Version : $SYSTEM$ variable in Windows 64bit



sandy_2008
09-04-2008, 05:10 AM
I'm using IA7.1.3 to create Windows 64bit installer. The issue here is after installer is not able to create ODBC driver entry in Control panel -> Administration tools -> Data sources(ODBC) -> drivers
I guess this entry is visible when u make entry in registry.. right?
I have used the 'Set Windows Registry (single entry)' to make the registry entry with the following details:


key:HKEY_LOCAL_MACHINE\Software\ODBC\ODBCINST.INI\Our ODBC Driver
data: $SYSTEM$\dhodbc.dll


and I have used the 'Copy files' action where I copy the dhodbc from <installationDir>bin/dhodbc.dll to $SYSTEM$

The above concept works fine for Windows 32bit installer and I can see 'Our ODBC Driver' entry in drivers tab. But this doesn't work on Windows 64bit machine. Also, the installer copy the dhodbc file to "c:\Windows\SysWOW64" instead of "c:\Windows\system32". but the 'data' value in registry is "C:\Windows\System32". Why two different values for $SYSTEM$??