Click to See Complete Forum and Search --> : Registry handling on Windows Vista


Gulfam
July 13th, 2007, 07:59 AM
My MSI custom action DLL (C++), using Windows Vista, can not read HKEY_LOCAL_MACHINE registry section. While it can read HKEY_CURRENT_USER keys fine. Note that the custom action DLL is working fine on Windows Server 2003.

Another interesting fact is that the DLL can read HKEY_LOCAL_MACHINE registry on Windows Vista, when it is loaded by an simple dialog based application (and not working for MSIEXEC.exe)

What am I missing? your help is highly appriciated.

PeejAvery
July 13th, 2007, 01:12 PM
I don't know if it would show up in the event log, but it is worth a try. Have you checked to see for errors there?