# How to install Visual\_Studio\_Pro\_2008\_English\_Core\_MLF\_X14-26326.iso on Windows machine with ansible

**URL:** <https://forum.ansible.com/t/how-to-install-visual-studio-pro-2008-english-core-mlf-x14-26326-iso-on-windows-machine-with-ansible/23061>\
**Category:** Ansible Developer\
**Tags:** windows\
**Created:** [November 21, 2016, 2:58am UTC](https://forum.ansible.com/t/how-to-install-visual-studio-pro-2008-english-core-mlf-x14-26326-iso-on-windows-machine-with-ansible/23061 "2016-11-21T02:58:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jian.li3hpe](https://avatars.discourse-cdn.com/v4/letter/j/b5e925/32.png) [@jian.li3hpe](https://forum.ansible.com/u/jian.li3hpe)\
**Post date:** [November 21, 2016, 2:58am UTC](https://forum.ansible.com/t/how-to-install-visual-studio-pro-2008-english-core-mlf-x14-26326-iso-on-windows-machine-with-ansible/23061/1 "2016-11-21T02:58:20Z")

</div>

Hi Ansible Team,

I want to install Visual Studio( **ISO file** ) on Windows machine with ansible. Below is my solution, but I met an issue to install it.

Solution:

1. copy Visual\_Studio\_Pro\_2008\_English\_Core\_MLF\_X14-26326.iso to Windows machine.
2. Unzip ISO file to a directory.
3. switch to “Setup” folder, and use “raw” module to execute the setup.exe file to install it.

Issue:

1. use “raw” module to run the setup.exe file failed. Can’t install Visual Studio.

BTW: I also try to execute the setup.exe file with win\_package, win\_feature modules, but failed too.

How to install an EXE installer software on Windows machine? Many thanks

Thanks,  
Li, Jian

---

<div class="post-metadata">

**Author:** ![jian.li3hpe](https://avatars.discourse-cdn.com/v4/letter/j/b5e925/32.png) [@jian.li3hpe](https://forum.ansible.com/u/jian.li3hpe)\
**Post date:** [November 22, 2016, 6:39am UTC](https://forum.ansible.com/t/how-to-install-visual-studio-pro-2008-english-core-mlf-x14-26326-iso-on-windows-machine-with-ansible/23061/2 "2016-11-22T06:39:30Z")

</div>

Who can give me any suggestion? Many thanks!

---

<div class="post-metadata">

**Author:** ![j.r.hawkesworth](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Post date:** [November 23, 2016, 6:57pm UTC](https://forum.ansible.com/t/how-to-install-visual-studio-pro-2008-english-core-mlf-x14-26326-iso-on-windows-machine-with-ansible/23061/3 "2016-11-23T18:57:55Z")

</div>

I have not tried to do this, but I think visual studio setup.exe probably expects windows GUI, which is not available via winrm. Some windows installer programs have a silent or unattended option so check documentation for silent install command lie options.

Hope this helps,

Jon

---

<div class="post-metadata">

**Author:** ![jian.li3hpe](https://avatars.discourse-cdn.com/v4/letter/j/b5e925/32.png) [@jian.li3hpe](https://forum.ansible.com/u/jian.li3hpe)\
**Post date:** [November 24, 2016, 2:22am UTC](https://forum.ansible.com/t/how-to-install-visual-studio-pro-2008-english-core-mlf-x14-26326-iso-on-windows-machine-with-ansible/23061/4 "2016-11-24T02:22:52Z")

</div>

Thanks Jon very much. It’s a good suggestion.
