diff --git a/MSXML6.SP1/MSXML6.SP1.nuspec b/MSXML6.SP1/MSXML6.SP1.nuspec new file mode 100644 index 0000000..e521f30 --- /dev/null +++ b/MSXML6.SP1/MSXML6.SP1.nuspec @@ -0,0 +1,36 @@ + + + + MSXML6.SP1 + Microsoft Core XML Services 6.0 Service Pack 1 + 6.10.1129.0 + Microsoft + Ethan Brown + MSXML 6.0 Service Pack 1 (MSXML6.1) has improved reliability, security, conformance with the XML 1.0 and XML Schema 1.0 W3C Recommendations, and compatibility with System.Xml 2.0. + MSXML 6.0 SP1 is intended as an upgrade path for existing MSXML 6.0, MSXML 3 and MSXML 4. + +MSXML 6.0 SP1 will update the version of MSXML6.dll to 6.10.1129.0 + +MSXML 6.0 SP1 could also be installed without any previous versions of MSXML 6.0 on the computer. + +MSXML 6.0 SP1 will be installed side by side with MSXML 3 and MSXML 4 + +MSXML 6.0 SP1 is also installed by +1. SQL Server 2005 SP2 as a Feature Pack Update +2. Windows Vista + +This download is intended for machines that do not have Vista OS or have not chosen to update MSXML 6.0 as part of SQL Server 2005 SP2. + + http://www.microsoft.com/en-us/download/details.aspx?id=6276 + XML MSXML services + http://archive.msdn.microsoft.com/MSXML/Project/License.aspx + false + + + + + + diff --git a/MSXML6.SP1/tools/chocolateyInstall.ps1 b/MSXML6.SP1/tools/chocolateyInstall.ps1 new file mode 100644 index 0000000..f02e76d --- /dev/null +++ b/MSXML6.SP1/tools/chocolateyInstall.ps1 @@ -0,0 +1,26 @@ +$package = 'MSXML6.SP1' + +try { + + #Vista or greater already ships with MSXML6 + if ([Environment]::OSVersion.Version -ge [Version]'6.0') + { + Write-ChocolateySuccess "Installation of $package is not necessary on this OS" + return + } + + $params = @{ + packageName = $package; + fileType = 'msi'; + silentArgs = '/qb'; + url = 'http://download.microsoft.com/download/e/a/f/eafb8ee7-667d-4e30-bb39-4694b5b3006f/msxml6_x86.msi' + url64bit = 'http://download.microsoft.com/download/e/a/f/eafb8ee7-667d-4e30-bb39-4694b5b3006f/msxml6_x64.msi' + } + + Install-ChocolateyPackage @params + + Write-ChocolateySuccess $package +} catch { + Write-ChocolateyFailure $package "$($_.Exception.Message)" + throw +}