# win\_msi issues with Ansible 2.1

**URL:** <https://forum.ansible.com/t/win-msi-issues-with-ansible-2-1/21374>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [May 6, 2016, 3:06pm UTC](https://forum.ansible.com/t/win-msi-issues-with-ansible-2-1/21374 "2016-05-06T15:06:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathan\_Anderson](https://avatars.discourse-cdn.com/v4/letter/j/45deac/32.png) [@Jonathan\_Anderson](https://forum.ansible.com/u/Jonathan_Anderson)\
**Post date:** [May 6, 2016, 3:06pm UTC](https://forum.ansible.com/t/win-msi-issues-with-ansible-2-1/21374/1 "2016-05-06T15:06:07Z")

</div>

Management Node running:  
Ansible 2.1  
Centos 7  
Remote Node running:  
Windows 7  
Powershell 3

The playbook below appears to run without errors but nothing happens on the remote node.

---

<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:** [May 6, 2016, 6:19pm UTC](https://forum.ansible.com/t/win-msi-issues-with-ansible-2-1/21374/2 "2016-05-06T18:19:52Z")

</div>

Hi

Become isn’t really a thing you can do on windows hosts (yet, I believe).

You’ll most likely need administrative privileges for the user you are accessing the windows host as in order to install .msi files.

I think the parameter needs to be ‘creates’ not ‘create’

If possible I’d recommend using win\_package as in my experience it handles a wider variety of .msi files than the msi module.

You can use the product\_id to stop it re-attempting installing. You can find the product ids for anything you have installed by looking in the following locations in the registry:

HKLM:SoftwareMicrosoftWindowsCurrentVersionUninstall or HKLM:SoftwareWow6432NodeMicrosoftWindowsCurrentVersion\Uninstall

---

<div class="post-metadata">

**Author:** ![Jonathan\_Anderson](https://avatars.discourse-cdn.com/v4/letter/j/45deac/32.png) [@Jonathan\_Anderson](https://forum.ansible.com/u/Jonathan_Anderson)\
**Post date:** [May 6, 2016, 8:38pm UTC](https://forum.ansible.com/t/win-msi-issues-with-ansible-2-1/21374/3 "2016-05-06T20:38:13Z")

</div>

Okay it’s working now. I had read about win\_package but had never been able to find the product\_id until reading your post. Thanks so much.
