Skip to content

Chef cookbook to install and manage Visual C++ runtime

License

Notifications You must be signed in to change notification settings

aae42/vcruntime

 
 

Repository files navigation

Microsoft Visual C++ Runtime Cookbook

Appveyer status Cookbook Version

Installs Microsoft Visual C++ runtime version 6 (2005), 9 (2008), 10 (2010), 11 (2012), 12 (2013), 14 (2015) or 15 (2017) on Windows.

Requirements

Platforms

  • Microsoft Windows 2008 R2
  • Microsoft Windows 2012
  • Microsoft Windows 2012 R2
  • Microsoft Windows 2016
  • Microsoft Windows 2019

Chef

  • Chef 12.6+

Attributes

There are individual attributes within the attributes files for the URL, checksum and package name of each Visual C++ runtime major and minor version.

If you wish to install anything except the latest packages, you may set one of

  • node['vcruntime']['vc6']['version']
  • node['vcruntime']['vc9']['version']
  • node['vcruntime']['vc10']['version']
  • node['vcruntime']['vc11']['version']
  • node['vcruntime']['vc12']['version']
  • node['vcruntime']['vc14']['version']
  • node['vcruntime']['vc15']['version']

to the appropriate version.

It will install 32 bit version alongside 64bit version on 64bit systems.

Usage

Include the default recipe to install all supported versions:

{
  "name": "my_node",
  "run_list": [
    "recipe[vcruntime]"
  ]
}

Include vcruntime::vc6, vcruntime::vc9, vcruntime::vc10, vcruntime::vc11, vcruntime::vc12, or vcruntime::vc14 in your node's run_list to install specific versions only:

{
  "name": "my_node",
  "run_list": [
    "recipe[vcruntime::vc6]"
  ]
}

License

Copyright: 2013-2019, Chef Software, 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.

About

Chef cookbook to install and manage Visual C++ runtime

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%