Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

We've been using SPModule to deploy and configure new SP installation and it works fine. or at least it did till recently when I tried to create a custom powershell host (WPF app) to wrap up the deployment process.

I now get an error:

ERROR: Invoke-Command : The variable '$MajorVersion' cannot be retrieved because it has not been set.

This is coming from line 293 in Install-SharePoint.psm1:

        if ((Test-Path "HKLM:\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\$MajorVersion.0\Secure\ConfigDB") -and ($SetupType -eq "CLEAN_INSTALL"))

The variable $MajorVersion is not mentioned anywhere else in the module.

So, a) I dont understand why I never saw this error before - but I can live without knowing. b) I'm not sure what it's trying to do here and can I just ignore it. c) I cant find any place to report this things to MS.

Anyone else seen this?

Cheers

share|improve this question
Ive found a couple more issues with SPModule - nothing serious. I'll post my updated when Ive worked through the whole thing. – Jonesie Dec 5 '10 at 8:09
As there seems to be nothing else on the web about this, limited interest, and your account no longer exists, this post will be closed. If you are able to return and provide extra details please flag a moderator to reopen the question. – Alex Angas Jul 11 '11 at 6:09

closed as too localized by Alex Angas Jul 11 '11 at 6:09

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.