Hi again

i have created a program to delete a Shortcut in sccm using cmd /c del "filepath" /q /f

i also have a program which runs the setup first


what i have done is created 2 programs and i have set the icon removal program to always run the installer first

when i run this in sccm it is not doing this

im using the "run another program first" option ticked

any explanations as to why its running them the wrong way round

the advert points at the icon removal program as im assuming i advertise that as that tells the install to run first?

0 Comments   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity



I would suggest you to run a task sequence for this. You can run multiple programs in sequence from Task Sequence.

Is your shortcut getting installed in the user profile rather than AllUsers profile. If yes, then SCCM will not be able to delete it unless you know the username.

The variable of username will not work.

Answered 10/16/2012 by: piyushnasa
Red Belt

Please log in to comment