I am running the setup as an adminstrator, Its a standalone machine with sql 2008 r2 already installed with sp1. Also granted the account running setup full control to the registry hive hklm software->Microsoft. Any work around for this issue?
SELECT @@Version
Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64) Jun 17 2011 00:54:03 Copyright (c) Microsoft Corporation Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7600: ) (Hypervisor)
I have also pasted some contents of the detail.txt file below
Overall summary:
Final result: The patch installer has failed to update the shared features. To determine the reason for failure, review the log files.
Exit code (Decimal): 204557340
Exit facility code: 1073
Exit error code: 19484
Exit message: Object reference not set to an instance of an object.
Start time: 2013-06-18 04:03:16
End time: 2013-06-18 04:09:56
Requested action: Patch
Log with failure: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20130618_040248\Detail.txt
2013-06-18 04:03:35 Slp: Sco: Attempting to get registry value SPLevel
2013-06-18 04:03:35 Slp: Sco: Attempting to get registry value AssociatedHotfixBuild
2013-06-18 04:03:35 Slp: Package sql_engine_core_inst_Cpu64: - The path of cached MSI package is: C:\Windows\Installer\888d1b80.msi . The RTM product version is: 10.50.1600.1
2013-06-18 04:03:35 Slp: Error: Action "Microsoft.SqlServer.Configuration.SetupExtension.InitializeUIDataAction" threw an exception during execution.
2013-06-18 04:03:35 Slp: Microsoft.SqlServer.Setup.Chainer.Workflow.ActionExecutionException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.
2013-06-18 04:03:35 Slp: at Microsoft.SqlServer.Chainer.Infrastructure.MsiHelper.GetMsiPatchMetadata(String propertyName)
2013-06-18 04:03:35 Slp: at Microsoft.SqlServer.Configuration.MsiExtension.SetPatchInstallStateAction.GetPatchPropertyFromMsp(PackageInstallProperty targetPackage, String patchCode, String mspFullPathFile)
2013-06-18 04:03:35 Slp: at Microsoft.SqlServer.Configuration.MsiExtension.SetPatchInstallStateAction.GetHighestAppliedPatchProperty(PackageInstallProperty targetPackage, Dictionary`2 appliedPatches)
2013-06-18 04:03:35 Slp: at Microsoft.SqlServer.Configuration.MsiExtension.SetPatchInstallStateAction.GetInstalledPatchBySQLDiscovery(PackageInstallProperty targetPackage)
2013-06-18 04:03:35 Slp: at Microsoft.SqlServer.Configuration.MsiExtension.SetPatchInstallStateAction.GetInstalledPatch(PackageInstallProperty targetPackage)
2013-06-18 04:03:35 Slp: at Microsoft.SqlServer.Configuration.MsiExtension.SetPatchInstallStateAction.ExecuteAction(String actionId)
2013-06-18 04:03:35 Slp: at Microsoft.SqlServer.Configuration.MsiExtension.ProductInstallProperty.GetInstalledPackages(String instanceName, List`1& installedInstancePackages, List`1& installedSharedPackages, String& returnedErrorMessage)
2013-06-18 04:03:35 Slp: at Microsoft.SqlServer.Configuration.MsiExtension.ProductInstallProperty.CollectProductData()
2013-06-18 04:03:35 Slp: at Microsoft.SqlServer.Configuration.FeatureTreeConfigurationBase.LoadFeatureTreeDefinitionAllInstances()
2013-06-18 04:03:35 Slp: at Microsoft.SqlServer.Configuration.PatchFeatureTree.InitializePatchFeatureTree(ServiceContainer context)
2013-06-18 04:03:35 Slp: at Microsoft.SqlServer.Configuration.SetupExtension.InitializeUIDataAction.ExecuteAction(String actionId)
2013-06-18 04:03:35 Slp: at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
2013-06-18 04:03:35 Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun)
2013-06-18 04:03:35 Slp: --- End of inner exception stack trace ---
2013-06-18 04:03:35 Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun)
2013-06-18 04:03:35 Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionWithRetryHelper(WorkflowObject metaDb, ActionKey action, ActionMetadata actionMetadata, TextWriter statusStream)
2013-06-18 04:03:35 Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
2013-06-18 04:03:35 Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
2013-06-18 04:03:38 Slp: Received request to add the following file to Watson reporting: C:\Users\TEMP.HR.007\AppData\Local\Temp\2\tmp96BE.tmp
2013-06-18 04:03:38 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
2013-06-18 04:03:38 Slp: Inner exceptions are being indented
2013-06-18 04:03:38 Slp:
2013-06-18 04:03:38 Slp: Exception type: System.NullReferenceException
2013-06-18 04:03:38 Slp: Message:
2013-06-18 04:03:38 Slp: Object reference not set to an instance of an object.
2013-06-18 04:03:38 Slp: Stack:
2013-06-18 04:03:38 Slp: at Microsoft.SqlServer.Chainer.Infrastructure.MsiHelper.GetMsiPatchMetadata(String propertyName)
2013-06-18 04:03:38 Slp: at Microsoft.SqlServer.Configuration.MsiExtension.SetPatchInstallStateAction.GetPatchPropertyFromMsp(PackageInstallProperty targetPackage, String patchCode, String mspFullPathFile)
2013-06-18 04:03:38 Slp: at Microsoft.SqlServer.Configuration.MsiExtension.SetPatchInstallStateAction.GetHighestAppliedPatchProperty(PackageInstallProperty targetPackage, Dictionary`2 appliedPatches)
2013-06-18 04:03:38 Slp: at Microsoft.SqlServer.Configuration.MsiExtension.SetPatchInstallStateAction.GetInstalledPatchBySQLDiscovery(PackageInstallProperty targetPackage)
2013-06-18 04:03:38 Slp: at Microsoft.SqlServer.Configuration.MsiExtension.SetPatchInstallStateAction.GetInstalledPatch(PackageInstallProperty targetPackage)
2013-06-18 04:03:38 Slp: at Microsoft.SqlServer.Configuration.MsiExtension.SetPatchInstallStateAction.ExecuteAction(String actionId)
2013-06-18 04:03:38 Slp: at Microsoft.SqlServer.Configuration.MsiExtension.ProductInstallProperty.GetInstalledPackages(String instanceName, List`1& installedInstancePackages, List`1& installedSharedPackages, String& returnedErrorMessage)
2013-06-18 04:03:38 Slp: at Microsoft.SqlServer.Configuration.MsiExtension.ProductInstallProperty.CollectProductData()
2013-06-18 04:03:38 Slp: at Microsoft.SqlServer.Configuration.FeatureTreeConfigurationBase.LoadFeatureTreeDefinitionAllInstances()
2013-06-18 04:03:38 Slp: at Microsoft.SqlServer.Configuration.PatchFeatureTree.InitializePatchFeatureTree(ServiceContainer context)
2013-06-18 04:03:38 Slp: at Microsoft.SqlServer.Configuration.SetupExtension.InitializeUIDataAction.ExecuteAction(String actionId)
2013-06-18 04:03:38 Slp: at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
2013-06-18 04:03:38 Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun)
2013-06-18 04:03:53 Slp: Watson Bucket 1
Original Parameter Values
2013-06-18 04:03:53 Slp: Parameter 0 : SQL2008@RTM@KB2630458
2013-06-18 04:03:53 Slp: Parameter 1 : Microsoft.SqlServer.Chainer.Infrastructure.MsiHelper.GetMsiPatchMetadata
2013-06-18 04:03:53 Slp: Parameter 2 : Microsoft.SqlServer.Chainer.Infrastructure.MsiHelper.GetMsiPatchMetadata
2013-06-18 04:03:53 Slp: Parameter 3 : System.NullReferenceException@-2147467261
2013-06-18 04:03:53 Slp: Parameter 4 : System.NullReferenceException@-2147467261
2013-06-18 04:03:53 Slp: Parameter 5 : InitializeUIDataAction
2013-06-18 04:03:53 Slp:
Final Parameter Values
2013-06-18 04:03:53 Slp: Parameter 0 : SQL2008@RTM@KB2630458
2013-06-18 04:03:53 Slp: Parameter 1 : 0x43A52DC3
2013-06-18 04:03:53 Slp: Parameter 2 : 0x43A52DC3
2013-06-18 04:03:53 Slp: Parameter 3 : 0x44A889F9
2013-06-18 04:03:53 Slp: Parameter 4 : 0x44A889F9
2013-06-18 04:03:53 Slp: Parameter 5 : InitializeUIDataAction
2013-06-18 04:04:10 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20130618_040248\Registry_SOFTWARE_Microsoft_Microsoft SQL Server.reg_
2013-06-18 04:04:10 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20130618_040248\Registry_SOFTWARE_Microsoft_Windows_CurrentVersion_Uninstall.reg_
2013-06-18 04:04:10 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\MSSQLServer to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20130618_040248\Registry_SOFTWARE_Microsoft_MSSQLServer.reg_
2013-06-18 04:04:10 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Wow6432Node\Microsoft\Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20130618_040248\Registry_SOFTWARE_Wow6432Node_Microsoft_Microsoft SQL Server.reg_
2013-06-18 04:04:10 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20130618_040248\Registry_SOFTWARE_Wow6432Node_Microsoft_Windows_CurrentVersion_Uninstall.reg_
2013-06-18 04:04:10 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Wow6432Node\Microsoft\MSSQLServer to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20130618_040248\Registry_SOFTWARE_Wow6432Node_Microsoft_MSSQLServer.reg_
2013-06-18 04:04:11 Slp: Object reference not set to an instance of an object.
2013-06-18 04:04:11 Slp: Watson bucket for exception based failure has been created
2013-06-18 04:04:11 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
2013-06-18 04:04:11 Slp: Sco: Attempting to open registry subkey
2013-06-18 04:04:11 Slp: Sco: Attempting to open registry subkey Software\Microsoft\PCHealth\ErrorReporting\DW\Installed
2013-06-18 04:04:11 Slp: Sco: Attempting to get registry value DW0201
2013-06-18 04:09:56 Slp: Submitted 1 of 1 failures to the Watson data repository
2013-06-18 04:09:56 Slp:
2013-06-18 04:09:56 Slp: ----------------------------------------------------------------------
2013-06-18 04:09:56 Slp:
2013-06-18 04:09:56 Slp: Error result: 204557340
2013-06-18 04:09:56 Slp: Result facility code: 1073
2013-06-18 04:09:56 Slp: Result error code: 19484