Jump to content

Filter in VBScript "View all programs"

Recommended Posts


Here I have a VBScript which shows the installed programs of the local machine in a txt-file with name and versionnumber. What I want is filter some programs, so you don't see them in the txt-file. For example Microsoft Word 2013 and Microsoft Excel 2013.


Can someone help me with this? See the script as attachment.

softwarelist with filter.txt

Edited by WilliamsNL

Share this post

Link to post
Share on other sites

It looks like this line gets the program name and stores it in strValue1:

intReturn = objReg.GetStringValue(HKLM, arrKeys(i) & strSubkey, strEntry1a, strValue1)
You could check that variable against a list of things that you want to skip before you write to the file.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...