Oh shit. Please do not do this in your install scripts. Making permanent changes to core system utilities from an unrelated package seems like a level beyond the usual mistakes people make in third-party packages.
Given how bad Microsoft is at Windows packaging (the next version of Visual Studio that can be unpinstalled cleanly will be the first) I'm not too surprised.