
CHEF WUINSTALL
By: a guest on
Aug 3rd, 2012 | syntax:
Ruby | size: 0.27 KB | hits: 21 | expires: Never
wuiFile = "WUInstall.exe"
$wuiFileDest = "#{ENV['TEMP']}"
switches = " /install /criteria \"IsHidden=0 and IsInstalled=0 and IsAssigned=1\""
execute "checking for updates" do
command "#{$wuiFileDest}\\WUInstall.exe #{switches} > #{$wuiFileDest}\\wuiLog.txt"
end