.net 错误2835:在对话框ErrorDialog上找不到控件ErrorIcon

.net 错误2835:在对话框ErrorDialog上找不到控件ErrorIcon,.net,visual-studio-2010,installation,windows-installer,.net,Visual Studio 2010,Installation,Windows Installer,下面是MSI错误日志 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 a

下面是MSI错误日志

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, 
Office 2010 PIA is not installed.
MSI (c) (08:54) [12:57:24:883]: Product: ExcelAddin -- Office 2010 PIA is not installed.

Action ended 12:57:24: LaunchConditions. Return value 3.
MSI (c) (08:54) [12:57:24:915]: Doing action: FatalErrorForm
Action 12:57:24: FatalErrorForm. 
Action start 12:57:24: FatalErrorForm.
MSI (c) (08:54) [12:57:24:915]: Note: 1: 2235 2:  3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'FatalErrorForm' 
DEBUG: Error 2826:  Control BannerBmp on dialog FatalErrorForm extends beyond the boundaries of the dialog to the right by 3 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalErrorForm, BannerBmp, to the right
Info 2898.For VsdDefaultUIFont.524F4245_5254_5341_4C45_534153783400 textstyle, the system created a 'MS Sans Serif' font, in 0 character set, of 13 pixels height.
Info 2898.For VSI_MS_Sans_Serif16.0_1_0 textstyle, the system created a 'MS Sans Serif' font, in 0 character set, of 20 pixels height.
DEBUG: Error 2826:  Control Line1 on dialog FatalErrorForm extends beyond the boundaries of the dialog to the right by 3 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalErrorForm, Line1, to the right
DEBUG: Error 2826:  Control Line2 on dialog FatalErrorForm extends beyond the boundaries of the dialog to the right by 3 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalErrorForm, Line2, to the right
Action 12:57:24: FatalErrorForm. Dialog created

我在一台运行64位Win7和Office 2010的虚拟pc上安装Excel加载项。.NET4CP、Office2010PIA和VSTO4运行时都包含在安装程序中。根据错误消息,似乎有什么东西阻止了office 2010 PIA的安装。你知道这里的错误是什么吗?谢谢。

有同样的问题,看来真正的错误出现在这之前

我的错误来自我的自定义安装程序类,因此如果您有其中一个错误,您应该在那里进行调查

参考:


仔细查看我的安装日志后,我发现错误2826(confirminInstallForm上的行超出了边界)和2769(未关闭1个MSIHANDLES)。

安装程序似乎试图向您显示错误消息,但失败了,因为在
ErrorDialog
上找不到标准控件。确保
error对话框
包含
error图标
控件。