D:/setup.exe -ignoreSysPrereqs -silent -responseFile D:/client.rsp when logged in on the WS2016 via PowerShell, the program gets installed.The output of the task:
<192.168.0.14> ESTABLISH WINRM CONNECTION FOR USER: Administrator on PORT 5986 TO x.x.x.x
<192.168.0.14> EXEC D:/setup.exe -ignoreSysPrereqs -silent -responseFile D:/client.rsp
changed: [win01] => {
"changed": true,
"invocation": {
"module_args": {
"_raw_params": "D:/setup.exe -ignoreSysPrereqs -silent -responseFile D:/client.rsp"
},
"module_name": "raw"
},
"rc": 0,
"stderr": "",
"stdout": "",
"stdout_lines": []
}
I can dig out some examples of using dcomperm.exe to do something similar if you need. Check the documentation for the exe to find out what dcom permissions it needs.
My guess would be that the app is expecting to run as an interactive user, which you wont be running as under winrm, so you'll probably need to grant explicit dcom permissions before attempting to install.
I can dig out some examples of using dcomperm.exe via raw module if you need.
Hope this helps,
Jon