I can't get win_package to install any msi from a samba share

I have a samba share that has read and execute permissions to everybody. I can use win_package to install .exe installers from there, but MSIs just hang forever. Calling the same MSI from a https URL works, and running win_command: msiexec /qn /i //sambashare/installer.msi works too.

Anybody know why?

I experienced the same problem, but with exes that would install ok from a local path, and MSIs wouldn’t. I fixed it by using windows native paths in the path field (backslashed instead of forward slashes. You would do:

- name: Install MSI from SMB share
  ansible.windows.win_package:
    #Notice the backslashes, don't use double quotes here or they will be escape codes.
    path: \\sambashare\installer.msi

That was it :man_facepalming:

Thank you very much