>>I'm wondering how can I get a list of all apps installed (like the one from Control Panel)?
>
>A limited way is using WMI, limited and not recommended for
it has some undesired effects and for it only list software installed using MSI files, there was a way to make it work with others, but I cannot find my notes about it, nor do I have time to research now.
>
>
>local loProducts, loProduct, loWMI
>
>loLocator = CREATEOBJECT('WBEMScripting.SWBEMLocator')
>loWMI = loLocator.ConnectServer()
>loProducts = loWMI.ExecQuery("SELECT * FROM Win32_Product")
>
>For Each loProduct in loProducts
> with loProduct
> if Isnull(.Name)
> loop
> endif
> ? .Name, .Caption, .Description, .IdentifyingNumber, .InstallDate, .InstallDate2, .InstallLocation, .SKUNumber, .Vendor, .Version
> endwith
>endfor
>
>
>An alternative would be to scan the registry to find this list (using path SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall)
BTW, would like to get the list without using VFP - by some simple method. Since it's client' computer, we don't want to install VFP full version.
If it's not broken, fix it until it is.
My Blog