Deploy Teams app into Program Files like a regular, not-insane app
How about installing the Teams program into the Program Files folder, instead of doing crazy, insane shenanigans in the user's profile? You install Word, Excel, PowerPoint, everything else into Program Files. Why pull this crazy ****?
Please get yourself in order and stop inflicting this nonsense onto organisations. If you need to constantly update, then set up a service that will do this, like Mozilla Firefox's maintenance service.
MSI-installing a second installer into Program Files is lunacy.
Mark Burland commented