Based on your description, I suggest to use ODT to deploy C2R version of Office.
1.Download the latest version of ODT.
2.Modify .xml file.
What's the version of "old Office"?
If MSI version like Office Professional Plus 2016/2013 and Office Standard 2016/2013, generally, you could add RemoveMSI element in .xml file to uninstall it when deploying.
3.Type cmd in the search bar to open Command Prompt. Type cd+path of ODT, Enter, then type the command setup.exe /configure XXX.xml, Enter.
XXX is the file name of .xml file.
More information about ODT, you may refer to "Overview of the Office Deployment Tool".
Besides, as deploying Office with MDT is out of my scope, to get more help about it, it's also suggested to post your question on Tech Community.
Thanks for your understanding.
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.