INSTALLDIR looks like just another argument for the executable so it just comes after your /S like;
- win_command: C:\Users\Administrator\Downloads\npp.7.7.1.Installer.exe /S INSTALLDIR=C:/mk Thanks Jordan -- 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/c257ce6f-c9c5-41ba-a4ee-56ad475f3685%40googlegroups.com.
