IE is an optional feature when installing Server 2022. In the RTM version I believe it was automatically installed but I don't have an old machine to find out. However as IE has gone out of support MS has been pushing updates to further get rid of it. From my understanding the EXE is formally removed (if installed) as of the February Edge update. The underlying IE components are still available for apps that show web content but the wrapper executable is gone.
Your code should assume that IE isn't available and ideally just open the URL/HTML file using the Open verb to the shell. This will cause the configured default browser to be used.