Click One客户端安装后将安装目录删除,再从服务器下载安装无法安装解决办法

报错信息:

平台版本信息
Windows : 6.1.7601.65536 (Win32NT)
Common Language Runtime : 4.0.30319.42000
System.Deployment.dll : 4.6.1055.0 built by: NETFXREL2
clr.dll : 4.6.1055.0 built by: NETFXREL2
dfdll.dll : 4.6.1055.0 built by: NETFXREL2
dfshim.dll : 4.0.31106.0 (Main.031106-0000)


部署 URL : file:///C:/Users/Administrator/Desktop/WindowsFormsApplication1.application

错误摘要
以下是错误摘要,这些错误的详细信息列在该日志的后面。
* 激活 C:\Users\Administrator\Desktop\WindowsFormsApplication1.application 导致异常。 检测到下列失败消息:
+ 参照的程序集没有安装在系统上。 (异常来自 HRESULT:0x800736B3)

组件存储事务失败摘要
未检测到任何事务错误。

警告
执行此操作的过程中未出现任何警告。

操作进度状态
* [2019/3/21 10:14:51] : 已启动 C:\Users\Administrator\Desktop\WindowsFormsApplication1.application 的激活过程。

错误详细信息
执行此操作期间检测到下列错误。
* [2019/3/21 10:14:51] System.Runtime.InteropServices.COMException
- 参照的程序集没有安装在系统上。 (异常来自 HRESULT:0x800736B3)
- 源: System.Deployment
- 堆栈跟踪:
在 System.Deployment.Internal.Isolation.IStore.GetAssemblyInformation(UInt32 Flags, IDefinitionIdentity DefinitionIdentity, Guid& riid)
在 System.Deployment.Internal.Isolation.Store.GetAssemblyManifest(UInt32 Flags, IDefinitionIdentity DefinitionIdentity)
在 System.Deployment.Application.ComponentStore.GetAssemblyManifest(DefinitionIdentity asmId)
在 System.Deployment.Application.ComponentStore.GetSubscriptionStateInternal(DefinitionIdentity subId)
在 System.Deployment.Application.SubscriptionStore.GetSubscriptionStateInternal(SubscriptionState subState)
在 System.Deployment.Application.SubscriptionStore.CheckAndReferenceApplication(SubscriptionState subState, DefinitionAppId appId, Int64 transactionId)
在 System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
在 System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
在 System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
在 System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)

组件存储事务详细信息
没有可用的事务信息。

 

解决办法:

打开cmd输入regedit打开注册表,找到HKEY_CURRENT_USER\Software\Classes\Software\Microsoft\Windows\CurrentVersion\Deployment\SideBySide\2.0\PackageMetadata删掉就可以了。

posted @ 2019-03-21 10:44  一个有梦想的男孩  阅读(724)  评论(1编辑  收藏  举报