MatthewSteeples;13419 wrote:
I'm assuming there's some custom code that runs as part of the MSI to determine where VS is installed?
The MSI makes a call to a COM component published by MS that is intended to help tools find installations of Visual Studio
It's been our observation that this COM component is not very reliable. We implemented a range of fallbacks into the installer to try and find the VS instance for when it fails. If you're seeing this message, it means that not only did the MS component fail, but none of our fallbacks were able to locate the instance either.
I have no experience with InTune or what its limitations are, so unfortunately I'm unable to help troubleshoot it. Is it possible this could be security related? If something in the process is blocking the MSI from interacting with the registry, file system, COM, etc .. then the experience could be different to running the MSI directly. If possible, I'd suggest trying an xcopy using the ZIP installer if InTune supports anything like this.