Want to change the installatin path using win_package

Hi,

I want to change the new software installation path from C:\ to D:\ but the installation is going to the C:\ drive and the following playbook not worked. The package is at shared network path.

  • name: installation of the package in D drive
    win_package:
    path: \Network\path\rabbitmq.exe
    arguments: “INSTALLDIR=D:\Program Files”

Also tried the following

  • name: installation of the package in D drive
    win_package:
    path: \Network\path\rabbitmq.exe
    arguments**:**
    - /D=D:\Program Files
  • /install
   Can any one help.
Thanks and Regards,
Shyam

`

  • name: installation of the package in D drive
    win_package:
    path: \Network\path\rabbitmq.exe
    arguments: INSTALLDIR=“D:\Program Files”

`

should work. Please post the verbose output here. (use -vvvv)

Also might wanna add /q

Hi Varun,

I will try this.

Thank you,
Shyam