P
Phil Tomson
I've got a Win32 app that needs to determine if certain software
packages are installed or not. We do this by looking in the registry
under:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
Now we need to start to support WinXP-64bit. Turns out that on
WinXP-64bit the registry is split into 32bit and 64bit sections.
Also turns out that some of the packages we need to detect are in the
64bit section of the registry so our Win32 app doesn't end up seeing
them.
Is there any way for a Win32 app to read information from the 64bit
portion of the registry? I really don't want to start having to
create a 64bit version of the app as well.
Also, for extra bonus points: is there any way for a program/script to
determine if it's running on 32bit or 64bit WinXP?
Phil
packages are installed or not. We do this by looking in the registry
under:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
Now we need to start to support WinXP-64bit. Turns out that on
WinXP-64bit the registry is split into 32bit and 64bit sections.
Also turns out that some of the packages we need to detect are in the
64bit section of the registry so our Win32 app doesn't end up seeing
them.
Is there any way for a Win32 app to read information from the 64bit
portion of the registry? I really don't want to start having to
create a 64bit version of the app as well.
Also, for extra bonus points: is there any way for a program/script to
determine if it's running on 32bit or 64bit WinXP?
Phil