- I download the offline installer (https://www.microsoft.com/en-us/download/details.aspx?id=42642) then run the installation with a raw command from my playbook then it return an error ("rc": 16389)
failed: [x.x.x.x] => {"rc": 16389} stdout: An error was encountered.
- I did some searching then this error might relate to the cache size then I use the Web installation (https://www.microsoft.com/en-us/download/details.aspx?id=42643) then Ansible can run the package and download the package in middle then throw an error ("rc" 5) (something relates to access denied). I try to use with administrator account for the host inventory but no luck with that move
- I try to use win_msi module and see the win_msi.ps1 script that execute the installation by "msiexec.exe /i $params.path /qb /l $logfile $extra_args;" so I try to input the properties within the path parameter, for ex: C:\tool.msi property1=A perty2=b. However, seems my syntax is not correct with the parse function then I got this error
- Then I try to run the raw command in playbook: raw: msiexec.exe /i C:\Tool.msi property1=a property2=b /qn . This way can install this msi, in conclusion, we can't not the win_msi module at the moment for installation with properties?
Hope this helps,
Jon
DISM.exe /Online /Add-Package /PackagePath:C:\Temp\Windows8.1-KB2934520-x64.cab /NoRestart /Quiet