Forum Discussion
Dmitry_Nikolaev
Staff
16 years agoHi Giri,
Do you use an x64 OS?
If you do, most likely, the issue is caused by the fact that you read different registry branches by TC and an external script.
The branch you need to read has two locations in x64 systems:
(the 64-bit registry) :HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\
(the 32-bit registry) :HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\
An external script is executed by Windows Script Host 64-bit and, by default, accesses the 64-bit registry version, while TC is a 32-bit application, it accesses the 32-bit registry version.
To work with the same registry version, you need to use the Storages object in TC (see the "Storages.Registry" help topic) that can work with both registry versions.