[chef] Re: Re: Re: Need to Install .Net framework4


Chronological Thread 
  • From: Maxime Brugidou < >
  • To:
  • Subject: [chef] Re: Re: Re: Need to Install .Net framework4
  • Date: Sat, 18 Jan 2014 14:22:05 +0100

We use the dotnetframework cookbook from github to install .net 4 and 4.5 on windows 2008 r2 it works right away using the default recipe.

On Jan 18, 2014 12:51 PM, < "> > wrote:

i tried like this in chefcookbook...


windows_batch "Install dotnet Service" do
code <<-EOH
C:/chef/cache/wic_x64_enu.exe /q /norestart
C:/chef/cache/dotNetFx40_Full_x86_x64.exe /q /norestart
EOH
 end


2014-01-18T03:12:05-08:00] FATAL: Mixlib::ShellOut::ShellCommandFailed:
windows_batch[Install dotnet Service] (appserver-setup::default line 154) had
an error: Mixlib::ShellOut::ShellCommandFailed: execute[Install dotnet Service]
(dynamically defined) had an error: Mixlib::ShellOut::ShellCommandFailed:
Expected process to exit with [0], but received '5'
---- Begin output of call
"C:/Users/ADMINI~1/AppData/Local/Temp/chef-script20140118-2112-1gb38h3.bat"
----
STDOUT: C:\>C:/chef/cache/dotNetFx40_Full_x86_x64.exe /q /norestart
__
__
__

STDERR:
---- End output of call
"C:/Users/ADMINI~1/AppData/Local/Temp/chef-script20140118-2112-1gb38h3.bat"
----
Ran call
"C:/Users/ADMINI~1/AppData/Local/Temp/chef-script20140118-2112-1gb38h3.bat"
returned 5



what i have to do for this....



Archive powered by MHonArc 2.6.16.

§