Fetching contents of 'Programs and Features'

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
yuvi4all
Newbie
Posts: 4
Joined: Wed Oct 10, 2012 1:34 pm

Fetching contents of 'Programs and Features'

Post by yuvi4all » Wed Oct 10, 2012 1:44 pm

hi,

I am using macro scheduler 11. Windows 7 32-bit operating system. I wanted to fetch the information of installed programs in 'Control Panel' -> 'Programs and Features'. GetWindowText and GetWindowTextEx both is not returning the data. Can someone help me in extracting the data.

Thanks in advance.
uv.

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Wed Oct 10, 2012 4:12 pm

Another, and possibly better, solution would be to automate WMIC which can dump an installed program list to a text file:

Code: Select all

Run Program>wmic /output:c:\yourfolder\proglist.txt product get name,version
You'll have to play with the options to get exactly what you want.

yuvi4all
Newbie
Posts: 4
Joined: Wed Oct 10, 2012 1:34 pm

Post by yuvi4all » Fri Oct 12, 2012 11:28 am

Thanks Me,

With this command,

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

we are not getting list of all installed programs. Is there any alternative.

Thanks
uv.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts