Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

vs-2008 (10) Versions 1.0.8

Installs/Configures Visual Studio 2008

Policyfile
Berkshelf
Knife
cookbook 'vs-2008', '= 1.0.8', :supermarket
cookbook 'vs-2008', '= 1.0.8'
knife supermarket install vs-2008
knife supermarket download vs-2008
README
Dependencies
Changelog
Quality 0%

Description

Installs and configures Visual Studio 2008 + SP1.

This includes all features of Visual Studio 2008 including the 64-bit C++ compiler. The default Visual Studio 2008 installer does not enable the 64-bit C++ compiler installation. The "/full" option used here would enable 64-bit compile to install. No Documentation is installed.

For some reason, the custom INI file for the silent install fails to launch on Windows 8.1/Server 2012 R2 due to dependencies. However, it launches fine if we don't use an INI file and use the "/full" option. :(

I added a registry key to disable the Windows compatibility popup for SQL 2005 install since it is not supported on Windows 8.1/Server 2012 R2.

Our purpose was to run server configuration automation inside a corporate firewall with no internet connection for security reason. :(

Please see usage below for more details.

This takes about 35 minutes to run on my machine since it downloads the ISO, unzips it to a local path and then runs the install. The ISOs are immediately deleted after a successful run. I tried running mount-diskimage for the ISO (available in Windows 8.1/2012 R2 or newer) to save time from the unzip proces. However, it kept crashing on dismount-diskimage of the ISO in order for me to delete it. :(

Requirements

  • .Net Framework 3.5

Platform

  • Windows with Chef client 11.14.2

Tested on

  • Windows Server 2012 R2
  • Windows 8.1

Cookbooks

  • Windows
  • 7-zip
  • ms_dotnet::ms_dotnet3 (.net 3.5 must be enabled on Windows 8.1/2012 R2)

Resources and Providers

<Any Resources Or Providers Here>

Attributes

Usage

The allowed us to serve the ISO, EXE, ZIP, MSI, etc... from an internal HTTP site. The HTTP is better than using Windows NTFS network file share since we don'tt have specify any user/password credentials.

Please view sample role file "sample.role.vs2008-professional-x14-26326.rb" for better understanding.

License and Author

Copyright:: 2015 Citrix Systems, 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.

Dependent cookbooks

ms_dotnet >= 2.3.0
windows >= 1.34.6
seven_zip >= 1.0.3

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

vs-2008 CHANGELOG

This file is used to list changes made in each version of the vs-2008 cookbook.

1.1.0

  • y.siu - Add a prerequisites check for .Net Framework 3.5 with a registry look up.

1.0.0

  • y.siu - Initial release of vs-2008

Foodcritic Metric
            

1.0.8 failed this metric

FC002: Avoid string interpolation where not required: /tmp/cook/d2486d7be6a7a86f35737219/vs-2008/recipes/default.rb:67
FC002: Avoid string interpolation where not required: /tmp/cook/d2486d7be6a7a86f35737219/vs-2008/recipes/default.rb:68
FC002: Avoid string interpolation where not required: /tmp/cook/d2486d7be6a7a86f35737219/vs-2008/recipes/default.rb:102
FC002: Avoid string interpolation where not required: /tmp/cook/d2486d7be6a7a86f35737219/vs-2008/recipes/default.rb:103
FC002: Avoid string interpolation where not required: /tmp/cook/d2486d7be6a7a86f35737219/vs-2008/recipes/default.rb:115
FC002: Avoid string interpolation where not required: /tmp/cook/d2486d7be6a7a86f35737219/vs-2008/recipes/default.rb:122