Avatar of compdigit44
compdigit44
 asked on

Creating a SCCM package with multiple steps

Let me start out by saying that SCCM 2012 R2 is not one of my strong areas. I know in SCCM you can create a package for a EXE but within the pack can you do the following

1) Uninstall a certain program  suppress reboot
2) If program A with a certain version if precent, install program 123,  if not install program abc

etc...
SCCM

Avatar of undefined
Last Comment
Michael Pfister

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Mike T

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Michael Pfister

You can't set a specific order in SCCM when running packages.

Either you script your requirement in a single package (i.e. a batch or PowerShell script)  or you have to use a task sequence.

In a task sequence  you could use a query for a specific software via WMI:

Execute step only when WMI query is true
Select * from Win32_Product where Name Like "Adobe Acrobat%" and Version like "17.0%"

Open in new window

Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy