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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.