Jump to content


Sign in to follow this  
bluemoon786

Software Task Sequence - WMI Query for Installed Software

Recommended Posts

Hi,

I'm hoping someone can help me. I need to add a condition into a software task sequence so that an uninstall cmd line will only run if a particular piece of software is installed, let's say Adobe Acrobat. Can any helpful soul tell me what syntax I should be using? Will it be different for 64-bit add/remove programs, I'm guessing it will?

Share this post


Link to post
Share on other sites


Namespace: root\cimv2\sms

 

 

Select * From SMS_InstalledSoftware Where ProductCode = '{XXXXXXXXXXXXXXXXXXXXXXXXXX}'

 

in SCCM 2012 ProductCode is replaced by SoftwareCode (for whatever reason)

  • Like 1

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.

Guest
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.

Loading...
Sign in to follow this  

×
×
  • Create New...