When I am trying to install using win_package.
win_package:
          path: "path\\*.msp"
          product_id: auto
          arguments: /p /qn

I am getting this error.
fatal: [172.16.13.207]: FAILED! => {"changed": false, "msg": "failed to run 
install process (C:\\Citrix\\SCVMM\\PreReqs16\\AdminConsole_amd64.msp /p 
/qn): Exception calling \"CreateProcess\" with \"5\" argument(s): 
\"CreateProcessW() failed (%1 is not a valid Win32 application, 
Win32ErrorCode 193)\"", "reboot_required": false}

I also used patch=path/*.msp in arguement like
            win_package:
                path: "path\setup.exe"
                product_id: auto
                arguments: /client /i /IACCEPTSCEULA \p patch="path\\*.msp" 
\qn

But not able to install.
Can someone help.

On Friday, December 20, 2019 at 12:09:51 PM UTC+5:30, anuj aggarwal wrote:
>
> How can I install .msp files from ansible modules without using win_shell.
>

-- 
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/b4923d7b-e468-445d-984b-f36d99916b29%40googlegroups.com.

Reply via email to