首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >BTSTask installer - windows installer错误1001

BTSTask installer - windows installer错误1001
EN

Stack Overflow用户
提问于 2011-07-29 16:16:58
回答 1查看 1.2K关注 0票数 0

当我运行由BTSTask生成的MSI时,我得到了一个奇怪的错误:

要生成MSI,请执行以下操作:

代码语言:javascript
复制
BTSTask ExportApp /ApplicationName:MyBizTalkApp /Package:MyBizTalkApp.msi

当我运行安装程序时,我得到这样的结果:

当我从BizTalk管理员控制台导出MSI,然后运行它时,也会发生这种情况。

我已经创建了一个msiexec日志文件。出现此错误的行似乎是:

代码语言:javascript
复制
DEBUG: Error 2835:  The control ErrorIcon was not found on dialog ErrorDialog  
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2835. The arguments are: ErrorIcon, ErrorDialog,  
Error 1001. Error 1001: An error occurred while attempting to install the BizTalk application: A file load exception occurred while attempting to install the assembly into the Global Assembly Cache. This error may occur if the assembly is delay signed, or if assembly was renamed after creating/signing.  
The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)  
MSI (s) (2C!40) [15:58:01:321]:   
MSI (s) (2C:3C) [15:58:01:362]: Leaked MSIHANDLE (26) of type 790531 for thread 7232  
MSI (s) (2C:3C) [15:58:01:411]: Note: 1: 2769 2:  _4804EF1F_F198_428B_A6B1_B30276127E0A.install 3: 1  
DEBUG: Error 2769:  Custom Action _4804EF1F_F198_428B_A6B1_B30276127E0A.install did not close 1 MSIHANDLEs.  
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2769. The arguments are:  _4804EF1F_F198_428B_A6B1_B30276127E0A.install, 1, 
CustomAction _4804EF1F_F198_428B_A6B1_B30276127E0A.install returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)  
MSI (s) (2C:3C) [15:58:01:619]: Closing MSIHANDLE (25) of type 790536 for thread 7776  
Action ended 15:58:01: InstallFinalize. Return value 3.

编辑: MSI中的程序集均未延迟签名或已重命名。我用sn -vf检查了它们,它们都是有效的。

EDIT2:我的所有服务器(Win2k8 R2)上都会发生这种情况

非常感谢您的帮助。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2011-07-29 16:30:31

MSI正在尝试在GAC中安装dll。为此,必须使用强名称密钥对dll进行签名,并且签名后不能更改dll的名称。

另一种可能性是不允许安装MSI的进程将dll添加到GAC。MSI安装是在windows installer服务下运行的,请检查该服务的身份。

下一种可能是其中一个dll的名称带有特殊字符。尝试手动将dll添加到gac。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/6870393

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档