Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing OLEPublic attribute from all classes
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01510083
Message ID:
01510116
Views:
60
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform