none
Installing Office Customization - Installer failed due to pending installation RRS feed

  • Question

  • Hi, I'm having an interesting {well thats one word for it} problem when trying to install via ClickOnce a Business Connectivity Services Data Solution for Office Add-In generated by the BCS Solution Packaging Tool.

    The problem is occuring on my development machine a virtualized Windows 2008 Server, Office 2010 Professional.

    During development the BCS component was often installed & uninstalled as per usual in a dev process until I ran into the problem. The problem being reported within the stack trace:

    Cannot update this solution with the latest version because you have pending installation(s). Complete the pending installation(s) and retry.

    Any ideas on how to resolve this would be greatly appreciated.

    Here is the stack trace if it is of any use.

    ************** Exception Text **************

    Microsoft.VisualStudio.Tools.Applications.Deployment.InstallAddInFailedException: The customized functionality in the following post-deployment action cannot be run: "Microsoft.Office.BusinessApplications.Runtime.DeploymentAction.SolutionDeploymentAction". ---> Microsoft.VisualStudio.Tools.Applications.Runtime.AddInException: Microsoft.Office.BusinessApplications.Runtime.DeploymentAction.InstallerFailureDueToPendingSolutionStatesException, Microsoft.Office.BusinessApplications.Runtime

    Microsoft.Office.BusinessApplications.Runtime.DeploymentAction.InstallerFailureDueToPendingSolutionStatesException: Cannot update this solution with the latest version because you have pending installation(s). Complete the pending installation(s) and retry.

       at Microsoft.Office.BusinessApplications.Runtime.DeploymentAction.ActionExecutor.CheckSolutionStatesToProceed()

       at Microsoft.Office.BusinessApplications.Runtime.DeploymentAction.ActionExecutor.RegisterSolution()

       at Microsoft.Office.BusinessApplications.Runtime.DeploymentAction.ActionExecutor.Execute()

       at Microsoft.Office.BusinessApplications.Runtime.DeploymentAction.SolutionDeploymentAction.ProcessSolution(AddInPostDeploymentActionArgs args)

       at Microsoft.Office.BusinessApplications.Runtime.DeploymentAction.SolutionDeploymentAction.Execute(AddInPostDeploymentActionArgs args)

       at Microsoft.VisualStudio.Tools.Applications.Deployment.AddInPostDeploymentActionAddInAdapter.Microsoft.VisualStudio.Tools.Applications.Deployment.Contract.IAddInPostDeploymentActionContract.Execute(String manifestUri, Int32 installationStatus, String deploymentManifest, String applicationManifest, String hostManifest, String postActionManifestXml, String productName, String version, String addInLocation)

    Server stack trace:

       at Microsoft.VisualStudio.Tools.Applications.Deployment.AddInPostDeploymentActionAddInAdapter.Microsoft.VisualStudio.Tools.Applications.Deployment.Contract.IAddInPostDeploymentActionContract.Execute(String manifestUri, Int32 installationStatus, String deploymentManifest, String applicationManifest, String hostManifest, String postActionManifestXml, String productName, String version, String addInLocation)

       at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)

       at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)

       at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

    Exception rethrown at [0]:

       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)

       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)

       at Microsoft.VisualStudio.Tools.Applications.Deployment.Contract.IAddInPostDeploymentActionContract.Execute(String manifestUri, Int32 installationStatus, String deploymentManifest, String applicationManifest, String hostManifest, String postActionManifestXml, String productName, String version, String addInLocation)

       at Microsoft.VisualStudio.Tools.Applications.Deployment.AddInPostDeploymentActionHostAdapter.Microsoft.VisualStudio.Tools.Applications.Deployment.IAddInPostDeploymentAction.Execute(AddInPostDeploymentActionArgs args)

       at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InvokePostActionWorker(AppDomainSetup setup, PostAction action, AddInPostDeploymentActionArgs args)

       at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.ExecutePostActionsForward(Int32& LastExecutedPostAction, Uri deploymentUri, AddInInstallationStatus installStatus, String deployManifestXml, String appManifestXml, ApplicationManifest manifest, String productName, String version, AppDomainSetup appDomainSetup)

       --- End of inner exception stack trace ---

       at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.ExecutePostActionsForward(Int32& LastExecutedPostAction, Uri deploymentUri, AddInInstallationStatus installStatus, String deployManifestXml, String appManifestXml, ApplicationManifest manifest, String productName, String version, AppDomainSetup appDomainSetup)

       at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InvokePostActions(Uri deploymentUri, AddInInstallationStatus installStatus, String deployManifestXml, String appManifestXml, ApplicationManifest manifest, String productName, String version, AppDomainSetup appDomainSetup)

       at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()

       at Microsoft.VisualStudio.Tools.Office.Runtime.SolutionInstaller.<>c__DisplayClass7.<Install>b__0()

    Monday, February 25, 2013 4:48 AM

Answers

All replies