インストールされたアプリケーション一覧を取得する。
コマンド:
wmic PRODUCT get Caption,Description,InstallDate,InstallSource,Language,LocalPackage,Name,PackageName,Vendor,Version /value
実行例:
C:\>wmic PRODUCT get Caption,Description,InstallDate,InstallSource,Language,LocalPackage,Name,PackageName,Vendor,Version /value
Caption=Python 3.6.4 Tcl/Tk Support (32-bit)
Description=Python 3.6.4 Tcl/Tk Support (32-bit)
InstallDate=20180314
InstallSource=C:\Users\username\AppData\Local\Package Cache\{20888FA1-8127-42E3-969F-9BF93245AC83}v3.6.4150.0\
Language=1033
LocalPackage=C:\Windows\Installer\54c2ce.msi
Name=Python 3.6.4 Tcl/Tk Support (32-bit)
PackageName=tcltk.msi
Vendor=Python Software Foundation
Version=3.6.4150.0
Caption=Python 3.6.4 Development Libraries (32-bit)
Description=Python 3.6.4 Development Libraries (32-bit)
InstallDate=20180314
InstallSource=C:\Users\username\AppData\Local\Package Cache\{C3797E33-967D-4687-8F1A-9DE771A00125}v3.6.4150.0\
Language=1033
LocalPackage=C:\Windows\Installer\54c2b6.msi
Name=Python 3.6.4 Development Libraries (32-bit)
PackageName=dev.msi
Vendor=Python Software Foundation
Version=3.6.4150.0
Caption=Python 3.6.4 pip Bootstrap (32-bit)
Description=Python 3.6.4 pip Bootstrap (32-bit)
InstallDate=20180314
InstallSource=C:\Users\username\AppData\Local\Package Cache\{54142B43-2FA5-4BBA-BF03-27C10EB50C1E}v3.6.4150.0\
以下省略