Giter Site home page Giter Site logo

Comments (7)

forensicsguy20012004 avatar forensicsguy20012004 commented on May 22, 2024

Yeah, I found that out as well, early on but I have yet had the time to get around to re-coding. It would be great if someone with the time could pick this up.

from sqlserverdsc.

wsmelton avatar wsmelton commented on May 22, 2024

Just a note on this one, that it seems this is more than just the features listed in this bug. So I tried to use this features list: SQLENGINE,SSMS,ADV_SSMS,SNAC_SDK,SDK,BC,Conn and Test-TargetResource is returning false, BUT the features are still installed.

I have not dug into the Get-TargetResource for xSqlServerSetup module, but quick check and it seems there a few issues:

  • The features is a string instead of an array. Not sure what the reasoning behind not having this be an array to begin with was, instead of having to split it.
  • Get-TargetResource does not seem to handle anything other than the SSMS options and the components. Anything else it never validates so always returns false, not sure but this may be the only thing needed to fix it (?).

from sqlserverdsc.

pmcevoy avatar pmcevoy commented on May 22, 2024

Likewise, it doesn't work for the parent feature parameter "TOOLS".

from sqlserverdsc.

johlju avatar johlju commented on May 22, 2024

Only BIDS left to support. BC and CONN is supported. Changing title to reflect that.

from sqlserverdsc.

johlju avatar johlju commented on May 22, 2024

Feature BIDS should only exist in SQL Server 2008 R2 for installing Business Intelligence Development Studio, and SQL Server 2012 for installing SQL Server Data Tools (SSDT).

from sqlserverdsc.

johlju avatar johlju commented on May 22, 2024

Updating this issue with a suggestions from @ptoluganti in issue #653. @ptoluganti suggest the following code to detect BIDS.

# Check if BIDS in installed
$BIDSRegistryPath = "HKLM:\SOFTWARE\Microsoft\Microsoft SQL Server\$($sqlVersion)0\BIDS\\*"

$isBIDSInstalled = (Get-ItemProperty -Path $BIDSRegistryPath -ErrorAction SilentlyContinue)
if ($isBIDSInstalled)
{
	$features += 'BIDS,'
}
else
{
	"BIDS Not found"
}

After installation of BIDS the following registry keys exist.

HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\110\BIDS
HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\110\BIDS\Setup
HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\110\BIDS\Setup\SQL_BIDS_Full
HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\110\BIDS\Setup\SQL_BIDS_Full\1033

Registry Key:
FeatureList has value SQL_BIDS_Full=3 SQL_WarehouseDevWorkbench_FNS=3

from sqlserverdsc.

johlju avatar johlju commented on May 22, 2024

Closing this as SQL Server 2008 R2 has reached end-of-life.

from sqlserverdsc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.