-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added ability to select different (older) versions of the vcruntime.
Thanks to @jmauro. Also, general cleanup and move top-level attributes to 'vcruntime'.
- Loading branch information
Julian C. Dunn
committed
May 22, 2014
1 parent
a6dbc25
commit ae58015
Showing
11 changed files
with
196 additions
and
99 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
# Defines the three VCs | ||
|
||
default['vc9']['x86']['tools']['pkg']['windows']['url'] = 'http://download.microsoft.com/download/d/d/9/dd9a82d0-52ef-40db-8dab-795376989c03/vcredist_x86.exe' | ||
default['vc10']['x86']['tools']['pkg']['windows']['url'] = 'http://download.microsoft.com/download/5/B/C/5BC5DBB3-652D-4DCE-B14A-475AB85EEF6E/vcredist_x86.exe' | ||
default['vc12']['x86']['tools']['pkg']['windows']['url'] = 'http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x86.exe' | ||
|
||
default['vc9']['x64']['tools']['pkg']['windows']['url'] = 'http://download.microsoft.com/download/2/d/6/2d61c766-107b-409d-8fba-c39e61ca08e8/vcredist_x64.exe' | ||
default['vc10']['x64']['tools']['pkg']['windows']['url'] = 'http://download.microsoft.com/download/3/2/2/3224B87F-CFA0-4E70-BDA3-3DE650EFEBA5/vcredist_x64.exe' | ||
default['vc12']['x64']['tools']['pkg']['windows']['url'] = 'http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x64.exe' | ||
|
||
|
||
|
||
|
||
# | ||
# Author:: Yvo van Doorn (<yvo@getchef.com>) | ||
# Cookbook Name:: vcruntime | ||
# Attributes:: default | ||
# Copyright:: Copyright (c) 2014, Chef Software, Inc. | ||
# License:: Apache License, Version 2.0 | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# | ||
# Author:: Julian C. Dunn (<jdunn@getchef.com>) | ||
# Cookbook Name:: vcruntime | ||
# Attributes:: vc9 | ||
# Copyright:: Copyright (c) 2014, Chef Software, Inc. | ||
# License:: Apache License, Version 2.0 | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
default['vcruntime']['vc10']['x86']['10.0.30319']['url'] = 'http://download.microsoft.com/download/5/B/C/5BC5DBB3-652D-4DCE-B14A-475AB85EEF6E/vcredist_x86.exe' | ||
default['vcruntime']['vc10']['x86']['10.0.30319']['sha256sum'] = '8162b2d665ca52884507ede19549e99939ce4ea4a638c537fa653539819138c8' | ||
default['vcruntime']['vc10']['x86']['10.0.30319']['name'] = 'Microsoft Visual C++ 2010 Redistributable - x86 10.0.30319' | ||
default['vcruntime']['vc10']['x64']['10.0.30319']['url'] = 'http://download.microsoft.com/download/3/2/2/3224B87F-CFA0-4E70-BDA3-3DE650EFEBA5/vcredist_x64.exe' | ||
default['vcruntime']['vc10']['x64']['10.0.30319']['sha256sum'] = 'b06546ddc8ca1e3d532f3f2593e88a6f49e81b66a9c2051d58508cc97b6a2023' | ||
default['vcruntime']['vc10']['x64']['10.0.30319']['name'] = 'Microsoft Visual C++ 2010 Redistributable - x64 10.0.30319' | ||
|
||
default['vcruntime']['vc10']['x86']['10.0.40219']['url'] = 'http://download.microsoft.com/download/C/6/D/C6D0FD4E-9E53-4897-9B91-836EBA2AACD3/vcredist_x86.exe' | ||
default['vcruntime']['vc10']['x86']['10.0.40219']['sha256sum'] = '66b797b3b4f99488f53c2b676610dfe9868984c779536891a8d8f73ee214bc4b' | ||
default['vcruntime']['vc10']['x86']['10.0.40219']['name'] = 'Microsoft Visual C++ 2010 x86 Redistributable - 10.0.40219' | ||
default['vcruntime']['vc10']['x64']['10.0.40219']['url'] = 'http://download.microsoft.com/download/A/8/0/A80747C3-41BD-45DF-B505-E9710D2744E0/vcredist_x64.exe' | ||
default['vcruntime']['vc10']['x64']['10.0.40219']['sha256sum'] = 'c6cd2d3f0b11dc2a604ffdc4dd97861a83b77e21709ba71b962a47759c93f4c8' | ||
default['vcruntime']['vc10']['x64']['10.0.40219']['name'] = 'Microsoft Visual C++ 2010 x64 Redistributable - 10.0.40219' | ||
|
||
default['vcruntime']['vc10']['version'] = '10.0.40219' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# | ||
# Author:: Julian C. Dunn (<jdunn@getchef.com>) | ||
# Cookbook Name:: vcruntime | ||
# Attributes:: vc12 | ||
# Copyright:: Copyright (c) 2014, Chef Software, Inc. | ||
# License:: Apache License, Version 2.0 | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
default['vcruntime']['vc12']['x86']['11.0.50727.1']['url'] = 'http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/vcredist_x86.exe' | ||
default['vcruntime']['vc12']['x86']['11.0.50727.1']['sha256sum'] = 'c493561785ab2a970d4560b5f5e3b38bc10a08c30c38399a5e230ee0a7bcc81f' | ||
default['vcruntime']['vc12']['x86']['11.0.50727.1']['name'] = 'Microsoft Visual C++ 2012 Redistributable (x86) - 11.0.50727' | ||
default['vcruntime']['vc12']['x64']['11.0.50727.1']['url'] = 'http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/vcredist_x64.exe' | ||
default['vcruntime']['vc12']['x64']['11.0.50727.1']['sha256sum'] = 'aa065e8498ac2b8483a5398f847aa26feb72d99f24474c00e6b6d784bb6379c2' | ||
default['vcruntime']['vc12']['x64']['11.0.50727.1']['name'] = 'Microsoft Visual C++ 2012 Redistributable (x64) - 11.0.50727' | ||
|
||
default['vcruntime']['vc12']['x86']['11.0.51106.1']['url'] = 'http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU1/vcredist_x86.exe' | ||
default['vcruntime']['vc12']['x86']['11.0.51106.1']['sha256sum'] = '1cf499658295622956a0dedbb70a414c1a6157e1b7ee606fd9f7afccccea60db' | ||
default['vcruntime']['vc12']['x86']['11.0.51106.1']['name'] = 'Microsoft Visual C++ 2012 Redistributable (x86) - 11.0.51106' | ||
default['vcruntime']['vc12']['x64']['11.0.51106.1']['url'] = 'http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU1/vcredist_x64.exe' | ||
default['vcruntime']['vc12']['x64']['11.0.51106.1']['sha256sum'] = 'aa78fef82d386f709cc36dbe5bc5a67f34887d8a37c61e67b06543d1d82c9e2a' | ||
default['vcruntime']['vc12']['x64']['11.0.51106.1']['name'] = 'Microsoft Visual C++ 2012 Redistributable (x64) - 11.0.51106' | ||
|
||
default['vcruntime']['vc12']['x86']['11.0.60610.1']['url'] = 'http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU3/vcredist_x86.exe' | ||
default['vcruntime']['vc12']['x86']['11.0.60610.1']['sha256sum'] = 'db68929b556bf742ce2646687979176f09acdd5f1f1334a0d403c39228305316' | ||
default['vcruntime']['vc12']['x86']['11.0.60610.1']['name'] = 'Microsoft Visual C++ 2012 Redistributable (x86) - 11.0.60610' | ||
default['vcruntime']['vc12']['x64']['11.0.60610.1']['url'] = 'http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU3/vcredist_x64.exe' | ||
default['vcruntime']['vc12']['x64']['11.0.60610.1']['sha256sum'] = '9045134dc85230ee2d3d1d6be0ad3489019af643128d73ff67f95371ceb9b963' | ||
default['vcruntime']['vc12']['x64']['11.0.60610.1']['name'] = 'Microsoft Visual C++ 2012 Redistributable (x64) - 11.0.60610' | ||
|
||
default['vcruntime']['vc12']['x86']['11.0.61030']['url'] = 'http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x86.exe' | ||
default['vcruntime']['vc12']['x86']['11.0.61030']['sha256sum'] = 'b924ad8062eaf4e70437c8be50fa612162795ff0839479546ce907ffa8d6e386' | ||
default['vcruntime']['vc12']['x86']['11.0.61030']['name'] = 'Microsoft Visual C++ 2012 Redistributable (x86) - 11.0.61030' | ||
default['vcruntime']['vc12']['x64']['11.0.61030']['url'] = 'http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x64.exe' | ||
default['vcruntime']['vc12']['x64']['11.0.61030']['sha256sum'] = '681be3e5ba9fd3da02c09d7e565adfa078640ed66a0d58583efad2c1e3cc4064' | ||
default['vcruntime']['vc12']['x64']['11.0.61030']['name'] = 'Microsoft Visual C++ 2012 Redistributable (x64) - 11.0.61030' | ||
|
||
default['vcruntime']['vc12']['version'] = '11.0.61030' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# | ||
# Author:: Julian C. Dunn (<jdunn@getchef.com>) | ||
# Cookbook Name:: vcruntime | ||
# Attributes:: vc9 | ||
# Copyright:: Copyright (c) 2014, Chef Software, Inc. | ||
# License:: Apache License, Version 2.0 | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
default['vcruntime']['vc9']['x86']['9.0.21022.8']['url'] = 'http://download.microsoft.com/download/1/1/1/1116b75a-9ec3-481a-a3c8-1777b5381140/vcredist_x86.exe' | ||
default['vcruntime']['vc9']['x86']['9.0.21022.8']['sha256sum'] = 'c6a7e484f4d84883bc1205bccea3114c0521025712922298ede9b2a1cd632357' | ||
default['vcruntime']['vc9']['x86']['9.0.21022.8']['name'] = 'Microsoft Visual C++ 2008 Redistributable - x86 9.0.21022' | ||
default['vcruntime']['vc9']['x64']['9.0.21022.8']['url'] = 'http://download.microsoft.com/download/d/2/4/d242c3fb-da5a-4542-ad66-f9661d0a8d19/vcredist_x64.exe' | ||
default['vcruntime']['vc9']['x64']['9.0.21022.8']['sha256sum'] = 'baaaeddc17bcda8d20c0a82a9eb1247be06b509a820d65dda1342f4010bdb4a0' | ||
default['vcruntime']['vc9']['x64']['9.0.21022.8']['name'] = 'Microsoft Visual C++ 2008 Redistributable - x64 9.0.21022' | ||
|
||
default['vcruntime']['vc9']['x86']['9.0.30729.17']['url'] = 'http://download.microsoft.com/download/d/d/9/dd9a82d0-52ef-40db-8dab-795376989c03/vcredist_x86.exe' | ||
default['vcruntime']['vc9']['x86']['9.0.30729.17']['sha256sum'] = '41f45a46ee56626ff2699d525bb56a3bb4718c5ca5f4fb5b3b38add64584026b' | ||
default['vcruntime']['vc9']['x86']['9.0.30729.17']['name'] = 'Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.17' | ||
default['vcruntime']['vc9']['x64']['9.0.30729.17']['url'] = 'http://download.microsoft.com/download/2/d/6/2d61c766-107b-409d-8fba-c39e61ca08e8/vcredist_x64.exe' | ||
default['vcruntime']['vc9']['x64']['9.0.30729.17']['sha256sum'] = '55bf99ad3f063165c3ee1626787b5d4c2b65b5001fef79dd58c3490369ed282f' | ||
default['vcruntime']['vc9']['x64']['9.0.30729.17']['name'] = 'Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.17' | ||
|
||
default['vcruntime']['vc9']['version'] = '9.0.30729.17' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,36 @@ | ||
# | ||
# Author:: Yvo van Doorn (<yvo@opscode.com>) | ||
# Cookbook Name:: vcruntime | ||
# Recipe:: vc12 | ||
# Installs runtime for VS 2012 | ||
|
||
include_recipe "windows" | ||
# | ||
# Copyright:: 2013, Opscode, Inc. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
case node['kernel']['machine'] | ||
when "x86_64" | ||
windows_package 'Microsoft Visual C++ 2012 Redistributable (x64) - 11.0.61030' do | ||
source node['vc12']['x64']['tools']['pkg']['windows']['url'] | ||
when 'x86_64' | ||
windows_package node['vcruntime']['vc12']['x64'][node['vcruntime']['vc12']['version']]['name'] do | ||
checksum node['vcruntime']['vc12']['x64'][node['vcruntime']['vc12']['version']]['sha256sum'] | ||
source node['vcruntime']['vc12']['x64'][node['vcruntime']['vc12']['version']]['url'] | ||
installer_type :custom | ||
options '/q' | ||
end | ||
when /i[3-6]86/ | ||
windows_package 'Microsoft Visual C++ 2012 Redistributable (x86) - 11.0.61030' do | ||
source node['vc12']['x86']['tools']['pkg']['windows']['url'] | ||
windows_package node['vcruntime']['vc12']['x86'][node['vcruntime']['vc12']['version']]['name'] do | ||
checksum node['vcruntime']['vc12']['x86'][node['vcruntime']['vc12']['version']]['sha256sum'] | ||
source node['vcruntime']['vc12']['x86'][node['vcruntime']['vc12']['version']]['url'] | ||
installer_type :custom | ||
options '/q' | ||
end | ||
end | ||
|
Oops, something went wrong.