The MSI version number of the WebSocket Service does not match that of the EXE version number. For example, the current release listed on Microsoft Teams on Azure Virtual Desktop - Azure | Microsoft Docs has a version number of 1.4.2111.18001. This matched the MSI version number but once it is installed, the EXE version number changes to 10.1.2111.18001.
This makes it difficult when using Azure Image Builder to confirm if the latest version of the WebSocket Service is installed. I have a PowerShell script that downloads the latest WebSocket Service from the above link but I would like to compare the version numbers to the installed version so that I can then create an if statement that decides whether to update the WebSocket service of skip that update if the version number is the same. Doing so can reduce the time it takes to complete an image build.
Please can the version numbers match?