Hello
(Apologies if this is a double-post - I am sure I posted yesterday, but I do not see the item in the list or in my activities…)
The docs page for the win_msi module states that the module is deprecated, and its information seems clipped (incomplete sentence in the explanation)
http://docs.ansible.com/ansible/win_msi_module.html
But the general modules list does not (no “D:” on the module name)
http://docs.ansible.com/ansible/list_of_windows_modules.html
My questions are:
- Is win_msi really deprecated ?
- If so, what’s the new preferred method ?
It’s on the way to being deprecated (most likely we’ll do it for real in 2.4)- win_package is the recommended replacement, but we’ve been holding off on “really” deprecating win_msi until we make some usability changes to win_package. The big one is that you have to look up the product ID to supply it to win_package, but that’s not necessary with an MSI unless it’s being hosted remotely (so the module can query for the product_id without downloading the msi). So we’ll be relaxing that requirement, as well as tweaking around a few other things.
OK thanks - I’ll hold off using win_msi at all then… definitely would not want to have to re-do this configuration needlessly !
As far as I can remember I did a PR trying to accomodate some of this, but it may have been lost when we stopped using separate module repos. I’ll look up on this.