MsiGetProductInfoEx is probably what you're looking for. - Phil Wilson |
Thursday, January 25, 2007 4:46 PM
|
MsiGetProductInfoEx is probably what you are looking for.
--
Phil Wilson
[Microsoft MVP Windows Installer] |
 |
MsiQueryProductState and INSTALLSTATE_ABSENT - dtieuf |
Friday, January 26, 2007 11:38 AM
|
Yes, it does exactly what I need. Unfortunately, I should have added
that I must target MSI v2 and this function requires v3+.
Thanks anyway
dtieuf |
 |
MsiQueryProductState and INSTALLSTATE_ABSENT - Jeff Henkels |
Friday, January 26, 2007 3:05 PM
|
Try enumerating the subkeys of
HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\UserData --
per-machine installs are in the S-1-5-18 key, and per-user installs will be
in the subkey corresponding to the user's SID. The Products subkey of each
SID subkey contains product codes in a slightly scrambled format. |
 |