Clickonce应用程序已安装在其他位置。请卸载应用程序

时间:2019-01-16 10:06:11

标签: c# clickonce

在clickonce应用程序的自动更新中遇到一些问题。它会在详细信息日志中不断提示此异常: System.Deployment.Application.Deployment.Exception(GroupMultipleMatch)。 我已经尝试过研究,但是没有任何结果。 需要尽快解决此错误,有人对此异常有想法吗?

Here's the error detail log:
Component Store transaction failure summary
No transaction error was detected.

Warnings
The manifest for this application does no have a signature. signature validation will be ignored.
The manifest for this application does no have a signature. signature validation will be ignored.

Operation Progress Status:
[9/14/2018 5:21:05 PM] : Activation of C:\Program Files\user\Browsersetup\application.appref-ms
[9/14/2018 5:21:05 PM] : Performing necessary update check as specified by the deployment
[9/14/2018 5:21:05 PM] : Consuming new update
[9/14/2018 5:21:05 PM] : Installation of the application has started
[9/14/2018 5:21:05 PM] : Processing of application manifest has successfully completed
[9/14/2018 5:21:06 PM] : Found compatible run time version 4.0.30319
[9/14/2018 5:21:10 PM] : Request of trust and detection of platform is complete
[9/14/2018 5:21:10 PM] : Downloading of subscription dependencies is complete
[9/14/2018 5:21:10 PM] : Commit of the downloaded application has started.

Error details
Following errors were detected during this operation. 
[[9/14/2018 5:21:11 PM] : System.Deployment.Application.Deployment.Exception(GroupMultipleMatch)
- Application is already installed from another location. Please uninstall application.
- Source: System Deployment
- Stack trace:
 at System.Deployment.Application.SubscriptionStore.CommitApplication(SubscriptionState& subState, CommitApplicationParams commitParams)
 at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
 at System.Deployment.Application.ApplicationActivator.ConsumeUpdatedDeployment(SubscriptionState& subState, ActivationDescription 
actDesc)  
 at  System.Deployment.Application.ApplicationActivator.PerformDeploymentUpdate(SubscriptionState&subState, String&errorPageUrl)
 at System.Deployment.Application.ApplicationActivator.ProcessOrFollowShortcut(String shortcutFile, String&errorPageUrl, TempFile&deployFile)
 at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId,String deploymentProviderUrlFromExtension,BrowserSettings browserSettings, String errorPageUrl) 
 at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)

1 个答案:

答案 0 :(得分:1)

  1. 转到“控制面板”中的“程序和功能”
  2. 在程序列表中找到您的程序
  3. 右键单击它并卸载。
  4. 然后再次运行发布。