Application Inventory

Anything VBScript-related, including Windows Script Host, WMI, ADSI, and more.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 13 years and 11 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
manikandan
Posts: 2
Last visit: Fri Apr 23, 2010 11:58 am

Application Inventory

Post by manikandan »

Team,

Do we have a script to automatically fetch the list of installed application with version and installation path?

I do see lot scripts for inventory but it is just the app name and version either from registry or windows installer apps. But installation path is missing.

Any suggestion in this regards is highly appreciated.

Thanks,
Mani
User avatar
manikandan
Posts: 2
Last visit: Fri Apr 23, 2010 11:58 am

Application Inventory

Post by manikandan »

Team,

Do we have a script to automatically fetch the list of installed application with version and installation path?

I do see lot scripts for inventory but it is just the app name and version either from registry or windows installer apps. But installation path is missing.

Any suggestion in this regards is highly appreciated.

Thanks,
Mani
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Application Inventory

Post by jvierra »

Yes

Win32_Product has teh InstallLocation along with most other items about an installation.

See:
http://msdn.microsoft.com/en-us/library ... S.85).aspx

User avatar
rasimmer
Posts: 182
Last visit: Fri Apr 25, 2014 7:00 am

Application Inventory

Post by rasimmer »

I would say it would depend on what application you want information about. The Win32_Product class will only list items installed with Windows Installer (msiexec.exe). If you want information about all applications installed, then you'll have to use the registry method parsing HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall
and see if there is a key for InstallLocation available.
This topic is 13 years and 11 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked