Installation of .exe on windows remote node get hung

20 views
Skip to first unread message

srcr...@gmail.com

unread,
Sep 1, 2016, 11:55:00 AM9/1/16
to Ansible Project
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.

J Hawkesworth

unread,
Sep 1, 2016, 12:37:25 PM9/1/16
to Ansible Project
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
Reply all
Reply to author
Forward
0 new messages