I have an "old" application that has no uninstall switches and can only be uninstalled interactively. To get around that I wrote a batch to rename (MOVE) the %\Program Files%\OldApp directory and MOVE the desktop icon to the Recycle Bin.
After that runs I want to install it's replacement program using an MSI.
Both these work fine from the command line and they work in SCCM 2012 as separate Applications, If I chain the deployment types only the first one (old app) runs. If I use dependency and make the old app dependent on the new app, neither run.
The deployment has to be an uninstall of the old app. Does that mean it's dependency is an uninstall also, even though it's set to auto-install?
Any ideas on what I need tochange?
Is there a better approach?