msi错误1603 vs2008

时间:2011-10-15 22:58:37

标签: windows-installer

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

[编辑] 哦,除了上面的内容,我没有修改任何对话框或者在新添加的Web安装项目中添加了任何bmp。我添加它们,添加项目输出,调试,安装和失败。我回到家后,根据您的建议,我会看一下vs200.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.

2 个答案:

答案 0 :(得分:1)

找到另一个帖子,它建议在项目中有一个Filters文件夹。我不得不搜索它,因为我们在该项目中有大约4个信息,但是有一个Filters文件夹。我重命名了,安装得很好。

http://youarenotexpectedtounderstandthis.blogspot.com/2009/09/vsnet-2008-web-setup-project.html

答案 1 :(得分:0)

搜索错误应该足够清楚:

  

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

在您定义BannerBmp的定义中搜索BannerBmp,并检查它是否对于表单来说太宽。使横幅更小或形状更大。

<强> EDIT1

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

  

安装程序在安装此安装程序时遇到意外错误   包。这可能表明此包装存在问题。错误代码   是2826.参数是:UserExitForm,Line2,在右边

看起来某些操作完成时应显示的对话框错误或不存在。