Asked By Jeff Henkels
26-Jan-07 03: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.