From 039c70efe7ffa659c74817e4c9707d9cc1465410 Mon Sep 17 00:00:00 2001 From: Iristyle Date: Fri, 12 Oct 2012 17:15:11 -0400 Subject: [PATCH] SQL 2008 SMO 10.00.1600.22 --- SQL2008.SMO/SQL2008.SMO.nuspec | 30 +++++++++++++++++++++++++ SQL2008.SMO/tools/chocolateyInstall.ps1 | 18 +++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 SQL2008.SMO/SQL2008.SMO.nuspec create mode 100644 SQL2008.SMO/tools/chocolateyInstall.ps1 diff --git a/SQL2008.SMO/SQL2008.SMO.nuspec b/SQL2008.SMO/SQL2008.SMO.nuspec new file mode 100644 index 0000000..5d33f7d --- /dev/null +++ b/SQL2008.SMO/SQL2008.SMO.nuspec @@ -0,0 +1,30 @@ + + + + SQL2008.SMO + Microsoft SQL Server 2008 Management Objects + 10.00.1600.22 + Microsoft + Ethan Brown + 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 + SQL SQL2008 SMO .NET XML CLR + + false + https://github.com/Iristyle/ChocolateyPackages/raw/master/SQL2008.SMO/SQL2008.png + + + + + + + + + + + diff --git a/SQL2008.SMO/tools/chocolateyInstall.ps1 b/SQL2008.SMO/tools/chocolateyInstall.ps1 new file mode 100644 index 0000000..2605798 --- /dev/null +++ b/SQL2008.SMO/tools/chocolateyInstall.ps1 @@ -0,0 +1,18 @@ +$package = 'SQL2008.SMO' + +try { + $params = @{ + packageName = $package; + fileType = 'msi'; + silentArgs = '/quiet', + url = 'http://go.microsoft.com/fwlink/?LinkId=123708&clcid=0x409' + url64bit = 'http://go.microsoft.com/fwlink/?LinkId=123709&clcid=0x409' + } + + Install-ChocolateyPackage @params + + Write-ChocolateySuccess $package +} catch { + Write-ChocolateyFailure $package "$($_.Exception.Message)" + throw +}