Prerequisites fail

Aug 24, 2012 at 3:51 PM
Edited Aug 24, 2012 at 8:43 PM


I am trying to run the script and when it is trying to install the pre-reqs I get the following error.  FYI I am use v3 of the scripts and if I install all the pre-reqs manually the script moves forward, this only happens if the script is trying to install the pre-reqs. Server is Windows 2008 R2.

Installing Prerequisite Software:
 - .Net Framework...
 - Running Prerequisite Installer......Done.
 - Prerequisite Installer completed in 00:00:15.
- Script aborted!

exception             : System.Management.Automation.ParameterBindingValidation
                       Exception: Cannot bind argument to parameter 'Message'
                       because it is null.
                          at System.Management.Automation.ParameterBinderBase.
                       ValidateNullOrEmptyArgument(CommandParameterInternal pa
                       rameter, CompiledCommandParameter parameterMetadata, Ty
                       pe argumentType, Object parameterValue, Boolean recurse
                          at System.Management.Automation.ParameterBinderBase.
                       BindParameter(CommandParameterInternal parameter, Compi
                       ledCommandParameter parameterMetadata, ParameterBinding
                       Flags flags)
                          at System.Management.Automation.CmdletParameterBinde
                       rController.BindParameter(CommandParameterInternal argu
                       ment, MergedCompiledCommandParameter parameter, Paramet
                       erBindingFlags flags)
                          at System.Management.Automation.CmdletParameterBinde
                       rController.BindParameter(UInt32 parameterSets, Command
                       ParameterInternal argument, MergedCompiledCommandParame
                       ter parameter, ParameterBindingFlags flags)
                          at System.Management.Automation.ParameterBinderContr
                       oller.BindPositionalParametersInSet(UInt32 validParamet
                       erSets, Dictionary`2 nextPositionalParameters, CommandP
                       arameterInternal argument, ParameterBindingFlags flags,
                        ParameterBindingException& bindingException)
                          at System.Management.Automation.ParameterBinderContr
                       oller.BindPositionalParameters(Collection`1 unboundArgu
                       ments, UInt32 validParameterSets, UInt32 defaultParamet
                       erSet, Boolean ignoreArgumentsThatLookLikeParameters, P
                       arameterBindingException& outgoingBindingException)
                          at System.Management.Automation.CmdletParameterBinde
                       ction`1 arguments)
                          at System.Management.Automation.CmdletParameterBinde
                       rController.BindCommandLineParameters(Collection`1 argu
                          at System.Management.Automation.CommandProcessor.Bin
                       dCommandLineParameters(CommandParameterInternal[] param
                          at System.Management.Automation.CommandProcessor.Pre
                       pare(CommandParameterInternal[] parameters)
                          at System.Management.Automation.CommandProcessorBase
                       .DoPrepare(CommandParameterInternal[] parameters)
                          at System.Management.Automation.Internal.PipelinePro
                       cessor.Start(Boolean incomingStream)
                          at System.Management.Automation.Internal.PipelinePro
                       cessor.SynchronousExecuteEnumerate(Object input, Hashta
                       ble errorResults, Boolean enumerate)
argetObject          :
ategoryInfo          : InvalidData: (:) [Write-Warning], ParameterBindingValid
ullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsof
rrorDetails          :
nvocationInfo        : System.Management.Automation.InvocationInfo
ipelineIterationInfo : {}
SMessageDetails      :




Aug 27, 2012 at 3:33 AM
Edited Aug 27, 2012 at 5:13 AM


How are you installing the pre-reqs? Are you doing an offline install? Or, are you downloading them?

If you are doing an offine install, ensure you have the files in the following directory: \SP2010\SharePoint\PrerequisiteInstallerFiles and the Config file is set to True.

<OfflineInstall>true</OfflineInstall> in AutoSPInstallerInput.xml

If you are not doing an offline install, does your server have access to the internet?

Does it fail on a a specific file?

Are you trying to install with another language?


Aug 27, 2012 at 5:50 PM


I was able to get past this issue there seemed to be a character return at the end. I just replaced the section that was set to true for offline install of pre-reqs.