IBM Support

Cannot install 32 bit application on a 64 bit Windows machine

Troubleshooting


Problem

Problem installing a 32-bit IBM Informix Client SDK product on a 64-bit Windows machine. Note: This is for Windows 7.

Symptom

When installing a 32-bit IBM Informix Client SDK product on a 64-bit Windows machine, you may see a message stating that you cannot install becuase you are using a 64 bit machine.

Cause

The problem is due to the Windows redirection path not being included in your systems PATH environment variable setting.

Environment

Windows 64-bit machine

Resolving The Problem

  1. Open a Windows command window ('cmd')
  2. run: "set PATH=C:\WINDOWS\SysWOW64\;%PATH%"
  3. Run the setup.exe for IBM Informix Client SDK

To confirm that the Informix 32-bit ODBC driver has been installed run:

"C:\windows\syswow64\odbcad32.exe" and look under the Drivers tab.

If the above step did not work, check the set PATH again. The reason for that error is because the installer may need to spawn some child processes which need to be 32-bit. As specified in the message, you need to prefix the 32-bit system tools directory (C:\WINDOWS\SYSWOW64) in the PATH.



Right click on my computer and properties; on the left side bar click on advanced
system settings and then advanced tab click on Environment Variables button scroll
down in system variables and go to path, select that and click edit at the very start
type the following:

C:\Windows\SysWOW64; that should do it.

Sometimes it is not enough to do it through a CMD shell and start the installconnect.exe process from there, because the spawned processes (installconnect.exe/javaw.exe) would have the user PATH value, not the one in the CMD shell.
 
You must change the System variable so any child process would also pick the new PATH. You may have to set the (C:\WINDOWS\SYSWOW64) at the beginning of the PATH.
 
That would allow any child process to have the C:\WINDOWS\SYSWOW64 prefix in the PATH. If you need it, you may restore the value of the PATH environment variable after the CSDK/IConnect installation.

Control Panel -> System -> Advanced (tab) -> Environment Variable button
 

[{"Product":{"code":"SSVT2J","label":"Informix Tools"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF033","label":"Windows"}],"Version":"3.5;3.7","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
20 January 2022

UID

swg21567466