There's a setting on Windows 7 to automatically open XPS files from MXDW:
https://blogs.msdn.microsoft.com/adrianford/2008/08/20/automatically-opening-xps-files-from-mxdw/
Is there a way to change this checkbox setting through code? I'm using C#/VB.NET