If it doesn't write 
to 
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\
 
or HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ 
then you won't be able to use win_package to install it.

On Thursday, December 8, 2016 at 3:55:20 PM UTC+1, Biswajit Pain wrote:
>
> I am trying to install Ruby 2.2.5  exe package in Win2k12 server using 
> ansible. As there is no registry value in  HKLM\ . 
>
>
> Task Defination
>
> - name: Install ruby
>     win_package:
>       name: "Ruby 2.2.5-p319-x64"
>       path: '{{ sharedpath }}rubyinstaller-2.2.5-x64.exe'
>       product_id: ""
>       user_name: "{{ username }}"
>       user_password: "{{ password }}"
>       state: present
>       Arguments: '/silent  /tasks="addtk,assocfiles,modpath"'
>     ignore_errors: True
>
> Result
>
> TASK [Install ruby] 
> ************************************************************
> fatal: [10.107.45.24]: FAILED! => {"changed": false, "failed": true, 
> "msg": "Package from 
> \\\\builder.dev.appvol.eng.abcd.com\\Artifacts\\toolchain\\build_machine\\rubyinstaller-2.2.5-x64.exe
>  
> was installed, but the specified ProductId and/or Name does not match 
> package details", "name": "Ruby 2.2.5-p319-x64"}
> ...ignoring
>
> Is it possible to pass null value in product_id
>

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/47302662-2397-4202-84bf-5af1ba18826f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to