WMI “installed” query different from add/remove programs list?

后端 未结 13 1896
不知归路
不知归路 2020-11-29 01:56

Trying to use WMI to obtain a list of installed programs for Windows XP. Using wmic, I tried:

wmic /output:c:\\ProgramList.txt product get name,version
         


        
13条回答
  •  南方客
    南方客 (楼主)
    2020-11-29 02:30

    All that Add/Remove Programs is really doing is reading this Registry key:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall
    

提交回复
热议问题