Installation of .exe on windows remote node get hung

Hi,

I’m trying to install a software(.exe file) using raw module in windows but failed to do.

  • hosts : all
    remote_user: administrator

tasks:

  • raw : xxx.exe /s

Is there any other module to install software from .exe files?? I tried win_msi but it didnt work.

try win_package - win_msi is only for (well behaved) msi files.

also win_chocolatey is an option for a lot of places if it meets your security requirements.

A lot of (older) .exe programs will assume there is a user and pop up some kind of dialog box, which will cause the module to hang indefinitely. Most decent modern software has a command line switch to run in silent and or unattended mode, so search for ‘xxx.exe unattended installation’ to see if that’s an option for you.

Hope this helps,

Jon