When you use win_package on a file that isn't an .msi you need to provide 
the unique product_id so the module can do it's idempotency checks. 
Typically this is a GUID value as stored in the registry but it may be any 
other string the executable sets there's really no common format for .exe 
installers. The win_package docs state what registry paths are looked up 
for the product_id as well as alternative options like creates_path 
https://docs.ansible.com/ansible/latest/collections/ansible/windows/win_package_module.html.

On Thursday, May 20, 2021 at 3:53:46 AM UTC+10 [email protected] 
wrote:

> Good afternoon group.
> I would like to know if it is different to install .exe software in 
> Windows environments? There is an inventory of .msi software, I would like 
> to know if there is something different in the inventory configuration?
>
> This is the error I am having. Would anyone know what the problem was?
>
> [image: Ansible_Windows.png]
>
> The image below shows the configuration of my inventory.
>
> [image: Ansible1.PNG]
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/ce1dbcff-410f-4983-8ef8-ec75c3c5d76bn%40googlegroups.com.

Reply via email to