Get-AnsibleParam: Missing required argument: _raw_params

Hi All,

I’m writing a playbook task to run WinZip.wzmul after WinZip installation for Winzip registration. please note WinZip has been installed without any incident.

Playbook task:

win_command does not accept a path argument: https://docs.ansible.com/ansible/latest/modules/win_command_module.html

I am guessing what you want is:

  • name: Install wzmul
    win_command: ‘{{ tempdir.path }}\WinZip.wzmul’

Thank, I tired of this option and now getting:

fatal: [10.10.177.242]: FAILED! => {
“changed”: false,
“cmd”: “C:\Users\SA042ANS\AppData\Local\Temp\ansible.ej0o1gbb.pcowinzip\WinZip.wzmul”,
“msg”: “Exception calling "CreateProcess" with "5" argument(s): "CreateProcessW() failed (%1 is not a valid Win32 application, Win32ErrorCode 193)"”,
“rc”: 2
}

Playbook task:

  • name: Install wzmul
    win_command: ‘{{ tempdir.path }}\WinZip.wzmul’

regards

Vikrant

That’s because a wzmul is not a valid executable. It sounds like you need to call another exe that is designed run those scripts/files and pass in the path to your .wzmul file but I’m unsure what that may be.

tried but nothing working.

regards
Vikrant

A quick google search leads me to believe the file can just be dropped in the application install directory:

http://kb.winzip.com/kb/entry/74/#wzmul

thank you but they are also saying: The WinZip.wzmul registration file must be downloaded separately from the WinZip installation file(s) and it will need to be copied to the WinZip folder described above. The file can be copied manually to the target folder or users can double click on the WinZip.wzmul file to register.