You may use PowerShell and Windows Management Instrumentation (WMI). Here is a one liner:
Get-WmiObject -Class win32_product
Here is help for the Get-WmiObject
cmdlet:
http://technet.microsoft.com/en-us/library/dd315295.aspx
Here is a sample where we select the first installed program and format it as a table:
PS C:\Users\knut> Get-WmiObject -Class win32_product |
>> select -First 1 | ft Name, Version, Vendor -AutoSize
>>
Name Version Vendor
---- ------- ------
AWS SDK for .NET 1.2.0200 Amazon Web Services Developer Relations