I'm currently using Ansible 2.3.2, and I want to uninstall a program from a 
group of computers. According to the UninstallString from the registry, it 
just uses msiexec /x with a certain product ID. Therefore, I'd think it 
should be very trivial to uninstall using win_package.

However, my problem is that the program that was installed didn't come with 
an MSI and I can't find any MSIs for it within the filesystem. I did, 
however, confirm that msiexec can uninstall the program with the ProductID.

Since it requires a path, I was hoping that using an arbitrary path (in 
this case to a binary that would do nothing when called) it might work, but 
it doesn't seem to do the trick. Here's what I tried:

win_package:
    path: 'C:\Windows\System32\rundll32.exe'
    product_id: '{7D7C80AF-58D6-4C3F-912B-8B5B4D50A71B}'
    state: absent

However, that didn't seem to do the trick. What would be my best bet here?

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/33cfd7c3-0638-4e42-86bb-270d6eb25f15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to