hi all,
I need to install .Net frame work4 in windows 2008 R2 using cookbook. I tried
with ms_dotnet4 and dotnetframework-master cookbooks but no use, it will
download the package not installing!!!! why?????
please reply with any cookbooks or commands see below my code
First attempt----
windows_package node['.net']['v4.0']['package_name'] do
source node['.net']['url']
installer_type :custom
action :install
end
second attempt....
exe = "dotNetF#{node[:netfw][:release]}.exe"
dst = "#{node[:netfw][:dir]}\\#{exe}"
erl = "#{node[:netfw][:dir]}\\#{exe}"
remote_file dst do
source "#{node[:netfw][:mirror]}/#{exe}"
not_if { File.exists?(dst) }
end
execute "install #{exe}" do
command "#{dst} /S /NCRC /D=#{node[:netfw][:dir]}"
not_if { File.exists?(erl) }
end
package downloaded but not installing in client, the session continiously
runing in client i got error message in workstation like
"ERROR: WinRM::WinRMHTTPTransportError: Bad HTTP response returned from server
(500)."
Thanks and Regards,
Ganesan.A
Archive powered by MHonArc 2.6.16.