Uninstall Legacy App Via Group Policy

I have set up a new FoxPro application as a managed application in the group policy.  Everything works as expected in testing.  However, I need to uninstall the old legacy application using a setup.exe command.  Is there any way to do this using the group policy before the user logs in.  It will not work if the user is logged in due to permissions conflicts.  It would be great if I could do it before the new application is installed.
Any suggestions would be appreciated.
Who is Participating?
You may need to use a GPO to launch a Startup script that is a batch file calling setup.exe with whatever switches you need from a share that Authenticated Users can access.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.