Can't install Microsoft Web Service Enhancements 3.0 in Dockerfile

I’ve taken several swings at this and can’t make it work. Currently running on Windows 10.

FROM mcr.microsoft.com/windows/servercore/iis
RUN mkdir prereqs
WORKDIR /prereqs
COPY ["prereqs/Microsoft WSE 3.0.msi","c:/prereqs/"]
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'Continue'; $verbosePreference='Continue';"]
RUN Start-Process msiexec.exe -ArgumentList '/i', 'c:\prereqs\Microsoft WSE 3.0.msi', '/quiet', '/norestart', -NoNewWindow -Wait

This approach hangs on the RUN line and never completes. I’m assuming that the installer is opening some window that I can’t see.

My second attempt was to use the RUN command…

FROM mcr.microsoft.com/windows/servercore/iis
RUN mkdir prereqs
WORKDIR /prereqs
COPY ["prereqs/Microsoft WSE 3.0.msi","c:/prereqs/"]
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'Continue'; $verbosePreference='Continue';"]
RUN ["c:\\prereqs\\Microsoft WSE 3.0.msi", "/quiet", "/norestart"]

Which returned this:

container bb5ac363ba6c9e7aee5217549a09ad454f1c5f177fcae2f4aa243686f9b94268 encountered an error during CreateProcess: failure in a Windows system call: %1 is not a valid Win32 application. (0xc1)
[Event Detail:  Provider: 00000000-0000-0000-0000-000000000000]
[Event Detail:  Provider: 00000000-0000-0000-0000-000000000000]
[Event Detail: onecore\vm\compute\management\orchestration\vmhostedcontainer\processmanagement.cpp(173)\vmcomputeagent.exe!00007FF6C39DAE77: (caller: 00007FF6C398E4AB) Exception(2) tid(384) 800700C1 %1 is not a valid Win32 application.
    CallContext:[\Bridge_ProcessMessage\VmHostedContainer_ExecuteProcess]
 Provider: 00000000-0000-0000-0000-000000000000] extra info: {"CommandLine":"\"c:\\prereqs\\Microsoft WSE 3.0.msi\" /quiet /norestart","WorkingDirectory":"C:\\prereqs","CreateStdInPipe":true,"CreateStdOutPipe":true,"CreateStdErrPipe":true,"ConsoleSize":[0,0]}

I understand that WSE 3.0 is deprecated; unfortunately this is a legacy application and I cannot refeactor it at this time to remove this dependency. Any help would be greatly appreciated.

seems like you have posted this in SO where I responded