how to select radio buttons option while uninstalling in windows

42 views Asked by At

I want to uninstall a software in windows using chef .While uninstalling ,there are 2 radio buttons , one for modify and other for remove .By default modify is selected , but my requirement is to select remove option.

How to do so .. ?? Can anyone help me out in this issue.
I tried doing the below method.

windows_package 'Some software' do  
     action :remove  
end
1

There are 1 answers

3
sethvargo On

What you see on the GUI is not necessarily the "phrase" you need. If you look at the documentation for windows_package, you will see that the action you want is remove.

windows_package 'Whatever' do
  action :remove
end