I am trying to have my SetupFactory file determine the version of MS Access (32 or 64 bit) installed by a Registry value. I have realized that Microsoft stores the X86 / X64 bitness value in different places depending on the version of MS Office. What I think is consistent is that if it is a 32 bit version - MS Access.exe is stored in a folder in the C:\Program Files (x86) folder. If it is 64 bit then it is in the C:\Program Files folder. I have tried to figure out how to use the Registry.GetValue code to find the program using Registry.GetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\WOW6432Node\Microsoft\Office\14.0\Access \InstallRoot", "path", true); but obviously I am not entering something right. Can anyone give me an idea? Thanks. Margaret
Announcement
Collapse
No announcement yet.
Need help with finding Registry values
Collapse
X
Comment