静默模式下VS2010文档注册错误。 [英] VS2010 documentation registration error in silent mode.

查看:119
本文介绍了静默模式下VS2010文档注册错误。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


目前我已经创建了帮助文件(.msha& .mshc& .cab)。当我尝试以静默模式部署帮助文件时,我得到以下异常?



更新本地内容时出错:Microsoft。 Help.CacheLib.CacheLibBadPackageException:C:\ MSHelpViewer \content\Syncfusion\incoming\81208861-b284-4cd8-a679-a136c8841a1e \Syncfusion Essential Studio Documentation.mshc


在Microsoft.Help.CacheLib.DocumentationCache。<> c__DisplayClass5c。< VerifyAndExtractPackages> b__58(String cabFile)


at Microsoft.Help.CacheLib.Extensions.Each [T](IEnumerable在Microsoft.Help.CacheLib.DocumentationCache.VerifyAndExtractPackages(VendorName vendorName,ChangeDescription change,StatusCallback`1 statusCallback,CertificateCheckCallback certCheckCallback)中,"1,Action`1 lambda"



在Microsoft.Help.CacheLib.DocumentationCache.IntegrateChange(VendorName vendorName,ChangeDescription change,StatusCallback`1 statusCallback,CertificateCheckCallback cer) Microsoft.Help.CacheLib.DocumentationCache.Update(VendorName vendorName,Boolean checkForOnlineUpdates,StatusCallback`1 statusCallback,CertificateCheckCallback certCheckCallback)中的


at Microsoft.Help.CacheLib.CacheManager。<> c__DisplayClass24。< UpdateAsync> b__23()


在Microsoft.Help.CacheLib.AsyncOperationRunner.Run(对象状态)


 


注意:但是当我尝试使用帮助库管理器(HLM)安装帮助文件时,它已成功注册。


我按照以下步骤安装帮助文档。


1。创建了.mshc和.msha文件。


2。使用makecab.exe将.mshc文件转换为.cab文件。


3。在.msha文件中将.mshc扩展名更改为.cab。


4。使用我们的数字证书对cab文件进行签名。


5。在管理previlage中打开命令窗口并执行以下命令并在临时文件和事件日志中获得异常。


c:\Program Files \ Microsoft Developer Help\v1.0> ; HelpLibManager.exe / product"VS" / version"100" / locale"en-us" / sourceMedia" C:\Program\Syncfusion\Essential Studio \Documentation\8.4.0.10\Help\helpcontentsetup.msha" / silent


我的cab文件大小为237MB。此外,我已经创建了它成功注册并且运行良好的测试样本大小(10MB)。


请帮助我们解决问题。


此致,


AnandharamanS


解决方案

所以安装.MSHC文件好。但签名的驾驶室不是吗?


你做的事情看起来很好。我会推动其中一位帮助团队成员,看看他们是否可以提供帮助。


 


Rob


&NBSP;


Hi,

Currently i have crated the help file (.msha & .mshc & .cab). When i try to deploy the help file in silent mode i got the following exception?

An error occurred while updating local content: Microsoft.Help.CacheLib.CacheLibBadPackageException: C:\MSHelpViewer\content\Syncfusion\incoming\81208861-b284-4cd8-a679-a136c8841a1e\Syncfusion Essential Studio Documentation.mshc

at Microsoft.Help.CacheLib.DocumentationCache.<>c__DisplayClass5c.<VerifyAndExtractPackages>b__58(String cabFile)

at Microsoft.Help.CacheLib.Extensions.Each[T](IEnumerable`1 that, Action`1 lambda)

at Microsoft.Help.CacheLib.DocumentationCache.VerifyAndExtractPackages(VendorName vendorName, ChangeDescription change, StatusCallback`1 statusCallback, CertificateCheckCallback certCheckCallback)

at Microsoft.Help.CacheLib.DocumentationCache.IntegrateChange(VendorName vendorName, ChangeDescription change, StatusCallback`1 statusCallback, CertificateCheckCallback certCheckCallback)

at Microsoft.Help.CacheLib.DocumentationCache.Update(VendorName vendorName, Boolean checkForOnlineUpdates, StatusCallback`1 statusCallback, CertificateCheckCallback certCheckCallback)

at Microsoft.Help.CacheLib.CacheManager.<>c__DisplayClass24.<UpdateAsync>b__23()

at Microsoft.Help.CacheLib.AsyncOperationRunner.Run(Object state)

 

Note: But when i try to install the help file using Help Library Manager (HLM) it registered successfully.

The following steps i followed to install the help document.

1. Created the .mshc and .msha file.

2. convert the .mshc file into .cab file using makecab.exe.

3. Change the .mshc extension in to .cab in .msha file.

4. Sign the cab file using our digital certificate.

5. open the command window in administrative previlage and execute the following command and got the exception in temp file and event log.

c:\Program Files\Microsoft Help Viewer\v1.0>HelpLibManager.exe /product "VS" /version "100" /locale "en-us" /sourceMedia "C:\Program\Syncfusion\Essential Studio\Documentation\8.4.0.10\Help\helpcontentsetup.msha" /silent

My cab file size is 237MB . Also i have created the test sample size(10MB) it registered successfully and works well.

Please help us to resolve the problem.

Regards,

AnandharamanS

解决方案

So the .MSHC file installs OK. But the signed Cab doesn't?

What you are doing looks fine. I'll nudge one of the Help team guys to see if they can help.

 

Rob

 


这篇关于静默模式下VS2010文档注册错误。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆