diff --git a/SQL2008.ClrTypes/SQL2008.ClrTypes.nuspec b/SQL2008.ClrTypes/SQL2008.ClrTypes.nuspec index 307c098..661bc08 100644 --- a/SQL2008.ClrTypes/SQL2008.ClrTypes.nuspec +++ b/SQL2008.ClrTypes/SQL2008.ClrTypes.nuspec @@ -2,15 +2,15 @@ SQL2008.ClrTypes - Microsoft SQL Server System CLR Types - 10.00.1600.23 + Microsoft SQL Server 2008 System CLR Types + 10.00.2531.00 Microsoft Ethan Brown - Note: This is really 10.00.1600.22, but had to be version bumped to fix an issue in the package installer. + Microsoft SQL Server 2008 Feature Pack, April 2009 - The SQL Server System CLR Types package contains the components implementing the new geometry, geography, and hierarchyid types in SQL Server 2008. This component can be installed separately from the server to allow client applications to use these types outside of the server. + The SQL Server System CLR Types package contains the components implementing the new geometry, geography, and hierarchyid types in SQL Server 2008. This component can be installed separately from the server to allow client applications to use these types outside of the server. The SQL Server System CLR Types package contains the components implementing the new geometry, geography, and hierarchyid types in SQL Server 2008. This component can be installed separately from the server to allow client applications to use these types outside of the server. - http://www.microsoft.com/en-us/download/details.aspx?id=16177 + http://www.microsoft.com/en-us/download/details.aspx?id=3522 SQL SQL2008 .NET CLR + false + https://github.com/Iristyle/ChocolateyPackages/raw/master/SQL2008.SMO/SQL2008.png + + + + + + + + + diff --git a/SQL2008.CmdLine/tools/chocolateyInstall.ps1 b/SQL2008.CmdLine/tools/chocolateyInstall.ps1 new file mode 100644 index 0000000..7975db6 --- /dev/null +++ b/SQL2008.CmdLine/tools/chocolateyInstall.ps1 @@ -0,0 +1,27 @@ +$package = 'SQL2008.CmdLine' + +try { + $params = @{ + packageName = $package; + fileType = 'msi'; + silentArgs = '/quiet'; + url = 'http://download.microsoft.com/download/0/E/6/0E67502A-22B4-4C47-92D3-0D223F117190/SqlCmdLnUtils.msi'; + url64bit = 'http://download.microsoft.com/download/A/D/0/AD021EF1-9CBC-4D11-AB51-6A65019D4706/SqlCmdLnUtils.msi'; + } + + Install-ChocolateyPackage @params + + # install both x86 and x64 editions since x64 supports both + $IsSytem32Bit = (($Env:PROCESSOR_ARCHITECTURE -eq 'x86') -and ` + ($Env:PROCESSOR_ARCHITEW6432 -eq $null)) + if (!$IsSytem32Bit) + { + $params.url64bit = $params.url + Install-ChocolateyPackage @params + } + + Write-ChocolateySuccess $package +} catch { + Write-ChocolateyFailure $package "$($_.Exception.Message)" + throw +} diff --git a/SQL2008.NativeClient/SQL2008.NativeClient.nuspec b/SQL2008.NativeClient/SQL2008.NativeClient.nuspec index 03f61df..9685d86 100644 --- a/SQL2008.NativeClient/SQL2008.NativeClient.nuspec +++ b/SQL2008.NativeClient/SQL2008.NativeClient.nuspec @@ -3,12 +3,14 @@ SQL2008.NativeClient Microsoft SQL Server 2008 Native Client - 10.00.1600.22 + 10.00.2531.00 Microsoft Ethan Brown - Microsoft SQL Server 2008 Native Client (SQL Native Client) is a single dynamic-link library (DLL) containing both the SQL OLE DB provider and SQL ODBC driver. It contains run-time support for applications using native-code APIs (ODBC, OLE DB and ADO) to connect to Microsoft SQL Server 2000, 2005, or 2008. + Microsoft SQL Server 2008 Feature Pack, April 2009 + + Microsoft SQL Server 2008 Native Client (SQL Native Client) is a single dynamic-link library (DLL) containing both the SQL OLE DB provider and SQL ODBC driver. It contains run-time support for applications using native-code APIs (ODBC, OLE DB and ADO) to connect to Microsoft SQL Server 2000, 2005, or 2008. Microsoft SQL Server 2008 Native Client (SQL Native Client) is a single dynamic-link library (DLL) containing both the SQL OLE DB provider and SQL ODBC driver. It contains run-time support for applications using native-code APIs (ODBC, OLE DB and ADO) to connect to Microsoft SQL Server 2000, 2005, or 2008. SQL Native Client should be used to create new applications or enhance existing applications that need to take advantage of new SQL Server 2008 features. This redistributable installer for SQL Native Client installs the client components needed during run time to take advantage of new SQL Server 2008 features, and optionally installs the header files needed to develop an application that uses the SQL Native Client API. - http://www.microsoft.com/en-us/download/details.aspx?id=16177 + http://www.microsoft.com/en-us/download/details.aspx?id=3522 SQL SQL2008 Native Client ODBC OLEDB + false + https://github.com/Iristyle/ChocolateyPackages/raw/master/SQL2008.SMO/SQL2008.png + + + + + + + + + + diff --git a/SQL2008.Powershell/tools/chocolateyInstall.ps1 b/SQL2008.Powershell/tools/chocolateyInstall.ps1 new file mode 100644 index 0000000..8d382da --- /dev/null +++ b/SQL2008.Powershell/tools/chocolateyInstall.ps1 @@ -0,0 +1,27 @@ +$package = 'SQL2008.Powershell' + +try { + $params = @{ + packageName = $package; + fileType = 'msi'; + silentArgs = '/quiet'; + url = 'http://download.microsoft.com/download/0/E/6/0E67502A-22B4-4C47-92D3-0D223F117190/PowerShellTools.msi'; + url64bit = 'http://download.microsoft.com/download/A/D/0/AD021EF1-9CBC-4D11-AB51-6A65019D4706/PowerShellTools.msi'; + } + + Install-ChocolateyPackage @params + + # install both x86 and x64 editions since x64 PS supports both + $IsSytem32Bit = (($Env:PROCESSOR_ARCHITECTURE -eq 'x86') -and ` + ($Env:PROCESSOR_ARCHITEW6432 -eq $null)) + if (!$IsSytem32Bit) + { + $params.url64bit = $params.url + Install-ChocolateyPackage @params + } + + Write-ChocolateySuccess $package +} catch { + Write-ChocolateyFailure $package "$($_.Exception.Message)" + throw +} diff --git a/SQL2008.SMO/SQL2008.SMO.nuspec b/SQL2008.SMO/SQL2008.SMO.nuspec index a9aca51..9fe77f6 100644 --- a/SQL2008.SMO/SQL2008.SMO.nuspec +++ b/SQL2008.SMO/SQL2008.SMO.nuspec @@ -3,16 +3,18 @@ SQL2008.SMO Microsoft SQL Server 2008 Management Objects - 10.00.1600.23 + 10.00.2531.01 Microsoft Ethan Brown - Note: This is really 10.00.1600.22, but had to be version bumped to fix an isuse in the package installer. + Microsoft SQL Server 2008 Feature Pack, April 2009 - 10.00.2531.00 - The SQL Server Management Objects (SMO) is a .NET Framework object model that enables software developers to create client-side applications to manage and administer SQL Server objects and services. + Note that this is 10.00.2531.00, but had to be updated to 10.00.2531.01 to ensure that the dependent Powershell package would install correctly. + + The SQL Server Management Objects (SMO) is a .NET Framework object model that enables software developers to create client-side applications to manage and administer SQL Server objects and services. The SQL Server Management Objects (SMO) is a .NET Framework object model that enables software developers to create client-side applications to manage and administer SQL Server objects and services. This object model will work with SQL Server 2000, SQL Server 2005 and SQL Server 2008. Note: Microsoft SQL Server 2008 Management Objects Collection requires Microsoft Core XML Services (MSXML) 6.0 , Microsoft SQL Server Native Client, and Microsoft SQL Server System CLR Types. These are available on this page. - http://www.microsoft.com/en-us/download/details.aspx?id=16177 + http://www.microsoft.com/en-us/download/details.aspx?id=3522 SQL SQL2008 SMO .NET XML CLR