Redirecting an entire 32 or 64-bit branch

When running 32 and 64-bit versions of D2000 on Windows, the following applies:

  • Programs from a 32-bit D2000 installation primarily access the 32-bit D2000 key located in Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Ipesoft\D2000
  • Programs from a 64-bit D2000 installation primarily access the 64-bit D2000 key located in Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Ipesoft\D2000
  • If there is a RegistryViewRedirect item of DWORD type with a value of 1 in one of these D2000 keys (e.g. in the 32-bit one), the redirection will occur (access to the second key, e.g. to the 64-bit one)
  • If there is a RegistryViewRedirect item of DWORD type with a value of 1 in both D2000 keys, this is a misconfiguration and the D2000 will not work.

An example of redirecting an entire branch

Figure: Redirecting the entire 32-bit branch (Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Ipesoft\D2000) to the 64-bit branch (Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Ipesoft\D2000).


If there are multiple D2000 installations on the computer, from D2000 version 21.1.72 inclusive, it is possible to create redirects with finer granularity, at the level of individual installations. Then a RegistryViewRedirect item of type DWORD with value 1 must be created within the key of the specific installation under the Installed key (i.e. under Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Ipesoft\D2000\Installed or under Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Ipesoft\D2000\Installed).

Example: if in the 64-bit key Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Ipesoft\D2000\Installed\D:/D2000/D2000_EXE there is a DWORD entry RegistryViewRedirect with a value of 1, then redirection will occur to the 32-bit branch Computer\HKEY_LOCAL_MACHINE\SOFTWARE\ WOW6432Node\Ipesoft\D2000\Installed\D:/D2000/D2000_EXE.

Note: if this redirection with finer granularity is used, redirections (RegistryViewRedirect entries) must not be configured in parent keys (Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Ipesoft\D2000 or Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Ipesoft\D2000) because in this case, "global" redirection will occur already during access to these keys.

An example of redirecting one installation

Figure: The 32-bit branch Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Ipesoft\D2000 must not have a redirect set.

Figure: Redirecting D:\D2000\D2000_MES_TPD installation in a 32-bit branch (Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Ipesoft\D2000\Installed\D:/D2000/D2000_MES_TPD/D2000_EXE) to a 64-bit branch (Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Ipesoft\D2000\Installed\D:/D2000/D2000_MES_TPD/D2000_EXE).


Figure: In the 32-bit branch for "c:\Program Files (x86)\D2000\D2EXE_MES_TPD" installation there is no RegistryViewRedirect entry, the Base entry is defined, the 32-bit installation branch (Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Ipesoft\D2EXE_MES_TPD)  will be used.

Napíšte komentár