Link to home
Start Free TrialLog in
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...
ASKER CERTIFIED SOLUTION
Avatar of Mike Taylor
Mike Taylor
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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