When I execute wmic product get name
from cmd, I got this
In control panel I got this
It's weird that Avast is missing from wmic command. Any ideas?
I've stucked with the same question a few years ago. At this time, I've found only workarounds, not a good solution. The reason often mentioned is the use of 32bit and 64bit. This couldn't confirmend at my systems.
My used workaround was to read the following regkeys: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\
Today I would try the powershell wmi.
See also: WMI "installed" query different from add/remove programs list?