2011-10-15 45 views
1

我有一个vs2008,里面有多个.net 3.5项目。 4个常规安装项目,1个Web安装项目和dll。我想添加另一个Web安装项目,但在安装任何添加的Web安装项目期间,它会失败,eventlog错误1603.我正在使用IIS 7.当前的Web安装项目安装正常,我可以将安装项目安装到与新添加的Web安装项目应该安装的位置相同。 inetpub文件夹具有管理员,myusername,系统,iis_iusrs和trustedinstaller权限。 [编辑]是否它在两个我的机器,窗7(32位),Windows 7(64位)msi错误1603 vs2008

[编辑] 哦,除了上述之外,我没有修改任何对话框的或添加任何bmp到新添加的web安装项目。我添加它们,添加项目输出,调试,安装和失败。回家后,我会根据你的建议来看看带有orca.exe的vs2008对话框。在我离开之前的另一件事情是,我无法将任何项目输出添加到新添加的Web安装项目中,并且安装得很好。当然,没有任何东西安装到该文件夹​​,但是一旦添加了项目输出,它就会失败。

[编辑] 今天的测试和使用wilogutl.exe

Errors Found For Log File c:\log3.txt 
====================================================== 
5 Non-Ignored Errors 
====================================================== 
------------------------------------------------- 
Believed Error Found: 

MSI (s) (E4:60) [15:07:29:179]: Note: 1: 2318 2: 

MSI (s) (E4:60) [15:07:29:179]: Calling SRSetRestorePoint API. dwRestorePtType: 0, dwEventType: 103, llSequenceNumber: 678, szDescription: "". 

MSI (s) (E4:60) [15:07:29:180]: The call to SRSetRestorePoint API succeeded. Returned status: 0. 

MSI (s) (E4:60) [15:07:29:180]: Unlocking Server 

MSI (s) (E4:60) [15:07:29:702]: PROPERTY CHANGE: Deleting UpdateStarted property. Its current value is '1'. 

Action ended 15:07:29: InstallFinalize. Return value 3. 

Proposed Solution To Error: 

    A standard action or custom action caused the failure. 

------------------------------------------------- 

Believed Error Found: 

MSI (s) (E4:60) [15:07:29:179]: Calling SRSetRestorePoint API. dwRestorePtType: 0, dwEventType: 103, llSequenceNumber: 678, szDescription: "". 

MSI (s) (E4:60) [15:07:29:180]: The call to SRSetRestorePoint API succeeded. Returned status: 0. 

MSI (s) (E4:60) [15:07:29:180]: Unlocking Server 

MSI (s) (E4:60) [15:07:29:702]: PROPERTY CHANGE: Deleting UpdateStarted property. Its current value is '1'. 

Action ended 15:07:29: InstallFinalize. Return value 3. 

Action ended 15:07:29: INSTALL. Return value 3. 

Proposed Solution To Error: 

    A standard action or custom action caused the failure. 

------------------------------------------------- 

Believed Error Found: 

MSI (s) (E4:18) [15:07:29:765]: Destroying RemoteAPI object. 

MSI (s) (E4:A0) [15:07:29:765]: Custom Action Manager thread ending. 

MSI (c) (90:AC) [15:07:29:770]: Back from server. Return value: 1603 

MSI (c) (90:AC) [15:07:29:770]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1 

MSI (c) (90:AC) [15:07:29:771]: PROPERTY CHANGE: Deleting SECONDSEQUENCE property. Its current value is '1'. 

Action ended 15:07:29: ExecuteAction. Return value 3. 

Proposed Solution To Error: 

    A standard action or custom action caused the failure. 

------------------------------------------------- 

Believed Error Found: 

MSI (c) (90:18) [15:07:29:785]: Note: 1: 2262 2: Error 3: -2147287038 

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 

Action 15:07:29: FatalErrorForm. Dialog created 

Action ended 15:07:31: FatalErrorForm. Return value 1. 

Action ended 15:07:31: INSTALL. Return value 3. 

Proposed Solution To Error: 

    A standard action or custom action caused the failure. 

------------------------------------------------- 

Believed Error Found: 

MSI (c) (90:AC) [15:07:34:063]: Windows Installer installed the product. Product Name: WebSetup. Product Version: 1.0.0. Product Language: 1033. Manufacturer: Default Company Name. Installation success or error status: 1603. 

MSI (c) (90:AC) [15:07:34:064]: Grabbed execution mutex. 

MSI (c) (90:AC) [15:07:34:065]: Cleaning up uninstalled install packages, if any exist 

MSI (c) (90:AC) [15:07:34:066]: MainEngineThread is returning 1603 

Proposed Solution To Error: 

    Fatal error during installation. 

====================================================== 

Believed Error Found: 

MSI (s) (E4:60) [15:07:29:179]: Note: 1: 2318 2: 

MSI (s) (E4:60) [15:07:29:179]: Calling SRSetRestorePoint API. dwRestorePtType: 0, dwEventType: 103, llSequenceNumber: 678, szDescription: "". 

MSI (s) (E4:60) [15:07:29:180]: The call to SRSetRestorePoint API succeeded. Returned status: 0. 

MSI (s) (E4:60) [15:07:29:180]: Unlocking Server 

MSI (s) (E4:60) [15:07:29:702]: PROPERTY CHANGE: Deleting UpdateStarted property. Its current value is '1'. 

Action ended 15:07:29: InstallFinalize. Return value 3. 

Proposed Solution To Error: 

    A standard action or custom action caused the failure. 

回答

0

搜索错误应该是足够清晰:

DEBUG:错误2826:在对话框MaintenanceForm 控制BannerBmp超出对话框的边界向右移动3个像素

在d中搜索为您定义的MaintenanceForm您在哪里定位BannerBmp并检查它是否过宽。要么使横幅更小或更大的形式。

EDIT1

如果这不是根本原因下一个错误是

安装程序遇到意外的错误安装此 包。这可能表明此软件包存在问题。错误代码 是2826的参数是:UserExitForm,2号线,向右

它看起来像当一些动作完成是错误或不存在应显示该对话框。

+0

从外观上来看,有多个错误消息,但对于Web安装项目,在两台不同的机器失败?我认为还有别的东西可以比看横幅是否在页面上停留。但是,我会检查。如果还有其他想法,请告诉。 –

+0

@Alois:请参阅http://meta.stackexchange.com/questions/2950/should-hi-thanks-taglines-and-salutations-be-removed-from-posts –

+0

假设Prog1是一个项目,而Prog2是一个专案。 WebSetup1是现有的Web安装项目,WebSetup2是新创建的Web安装项目。两个WebSetup都可以正常使用Prog2,但WebSetup2不能很好地与Prog1一起安装。你还建议对话是问题吗? –