Hi all,
I'm trying to get list of all system and program files in my computer (WinXP Pro).
With system files, I found a solution at (System Files Reference).
Now I'm finding a way to list all program files in my computer. Actually, I did a lot of search but it seems that ...
Below are some solutions for this (but they're not good enough):
Soution 1: Read InstallLocation from "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Cur rentVersion\Uninstall". But I found out that some Product don't have value InstallLocation, because it didn't set when installing.
Solution 2: msiexec have some options to uninstall a software, it make me think about some msi functions (Installer Function Reference (Windows)). I found out that we have 2 useful functions to get all installed products and product's information (MsiEnumProductsEx, MsiGetProductInfoEx). But after read carefully about MsiGetProductInfoEx functions, there is no way to guarantee that I can get InstallLocation property for all products. At this time, it seems that I'm chasing my tail.

Anyone face this before???
Any help or comments are appreciated.

Thanks in advance,
Tu

PS: sorry for bad English