bluemoon786 0 Posted February 21, 2013 Report post Posted February 21, 2013 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? Quote Share this post Link to post Share on other sites
Peter33 47 Posted February 22, 2013 Report post Posted February 22, 2013 Namespace: root\cimv2\sms Select * From SMS_InstalledSoftware Where ProductCode = '{XXXXXXXXXXXXXXXXXXXXXXXXXX}' in SCCM 2012 ProductCode is replaced by SoftwareCode (for whatever reason) 1 Quote Share this post Link to post Share on other sites
bluemoon786 0 Posted February 25, 2013 Report post Posted February 25, 2013 Thanks Peter. Quote Share this post Link to post Share on other sites
gotsauss 0 Posted November 4, 2016 Report post Posted November 4, 2016 Thank you Peter! Quote Share this post Link to post Share on other sites