locked
MSIExec error 1603 when installing web-service RRS feed

  • Question

  • I am trying to install a new version of an existing service on dev server. I am using MSIExec to install. 

    The install quits with 1603. Below is the log snippet about the error 

    MSI (c) (8C:10) [15:04:11:743]: Doing action: WEBCA_GatherAppPools
    Action 15:04:11: WEBCA_GatherAppPools. 
    Action start 15:04:11: WEBCA_GatherAppPools.
    MSI (c) (8C:10) [15:04:11:743]: Note: 1: 2235 2:  3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'WEBCA_GatherAppPools' 
    MSI (c) (8C:04) [15:04:11:743]: Invoking remote custom action. DLL: C:\Users\skarnik9\AppData\Local\Temp\18\MSIAB6B.tmp, Entrypoint: GatherAppPools
    INFO   : [11/12/2014 15:04:11:758] [GatherAppPools                          ]: Custom Action is starting...
    INFO   : [11/12/2014 15:04:11:758] [GatherAppPools                          ]: CoInitializeEx - COM initialization Apartment Threaded...
    ERROR  : [11/12/2014 15:04:11:774] [GatherAppPools                          ]: FAILED:	-2147024891
    ERROR  : [11/12/2014 15:04:11:774] [GatherAppPools                          ]: Custom Action failed with code: '5'
    INFO   : [11/12/2014 15:04:11:774] [GatherAppPools                          ]: Custom Action completed with return code: '5'
    CustomAction WEBCA_GatherAppPools returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
    Action ended 15:04:11: WEBCA_GatherAppPools. Return value 3.
    MSI (c) (8C:10) [15:04:11:790]: Doing action: FatalErrorForm
    Action 15:04:11: FatalErrorForm. 
    Action start 15:04:11: FatalErrorForm.
    MSI (c) (8C:10) [15:04:11:790]: Note: 1: 2235 2:  3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'FatalErrorForm' 
    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
    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
    Action 15:04:11: FatalErrorForm. Dialog created
    MSI (c) (8C:EC) [15:04:11:805]: Note: 1: 2731 2: 0 
    Action ended 15:04:14: FatalErrorForm. Return value 1.
    Action ended 15:04:14: INSTALL. Return value 3.
    MSI (c) (8C:10) [15:04:14:863]: Destroying RemoteAPI object.
    MSI (c) (8C:5C) [15:04:14:863]: Custom Action Manager thread ending.

    Two questions:
       a. What does the error code 5 mean when it tries to CoInit GatherAppPools? 

        b. Why does it talk about a welcome form, my service has no UI, it is middle layer that exposes APIs to fetch data?

    Lastly, is there a web-site that has list of error code meanings? Like the 5 in my case for custom action. 

    Wednesday, November 12, 2014 8:51 PM

Answers

  • Hi Sumedh Karnik,

    According to your description, you'd like to know the meaning of some error codes.

    If you could tell me how to make the installer of your service, I would help you better.

    And about the error 1603, I found in this article had a solution, you could refer to.

    http://support.microsoft.com/kb/834484

    The cause of this issue.

    You may receive this error message if any one of the   following conditions is true:   
    • The folder that you are trying to install the Windows Installer package to is encrypted.
    • The drive that contains the folder that you are trying to install the Windows Installer package to is accessed as a substitute drive.
    • The SYSTEM account does not have Full Control permissions on the folder that you are trying to install the Windows Installer package to. You notice the error message because the Windows Installer service uses the SYSTEM account to install software.

    Solution

    To resolve this problem, do any one of the following,   depending on the cause of the problem:   
    • Install the package to a folder that is not encrypted.
      Use this method if you receive the error message because you try to install the Windows Installer package to a folder that is encrypted.
    • Install the package to a drive that is not accessed as a substitute drive.
      Use this method if you receive the error message because the drive that contains the folder that you try to install the Windows Installer package to is accessed as a substitute drive.
    • Grant Full Control permissions to the SYSTEM account. (for Windows 2000 and Windows XP only)
      Use this method if you receive the error message because the SYSTEM account does not have Full Control permissions on the folder that you try to install the Windows Installer package to.

    For detail steps, go to the site.

    Best regards,
    Youjun Tang


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    • Edited by Youjun Tang Thursday, November 13, 2014 9:36 AM
    • Marked as answer by Carl Cai Wednesday, November 19, 2014 11:16 AM
    Thursday, November 13, 2014 9:36 AM
  • The specific error is "access is denied", so the issue may be related to the security on the IIS configuration.


    Phil Wilson

    • Marked as answer by Carl Cai Wednesday, November 19, 2014 11:16 AM
    Friday, November 14, 2014 5:53 PM

All replies

  • Hi Sumedh Karnik,

    According to your description, you'd like to know the meaning of some error codes.

    If you could tell me how to make the installer of your service, I would help you better.

    And about the error 1603, I found in this article had a solution, you could refer to.

    http://support.microsoft.com/kb/834484

    The cause of this issue.

    You may receive this error message if any one of the   following conditions is true:   
    • The folder that you are trying to install the Windows Installer package to is encrypted.
    • The drive that contains the folder that you are trying to install the Windows Installer package to is accessed as a substitute drive.
    • The SYSTEM account does not have Full Control permissions on the folder that you are trying to install the Windows Installer package to. You notice the error message because the Windows Installer service uses the SYSTEM account to install software.

    Solution

    To resolve this problem, do any one of the following,   depending on the cause of the problem:   
    • Install the package to a folder that is not encrypted.
      Use this method if you receive the error message because you try to install the Windows Installer package to a folder that is encrypted.
    • Install the package to a drive that is not accessed as a substitute drive.
      Use this method if you receive the error message because the drive that contains the folder that you try to install the Windows Installer package to is accessed as a substitute drive.
    • Grant Full Control permissions to the SYSTEM account. (for Windows 2000 and Windows XP only)
      Use this method if you receive the error message because the SYSTEM account does not have Full Control permissions on the folder that you try to install the Windows Installer package to.

    For detail steps, go to the site.

    Best regards,
    Youjun Tang


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    • Edited by Youjun Tang Thursday, November 13, 2014 9:36 AM
    • Marked as answer by Carl Cai Wednesday, November 19, 2014 11:16 AM
    Thursday, November 13, 2014 9:36 AM
  • The specific error is "access is denied", so the issue may be related to the security on the IIS configuration.


    Phil Wilson

    • Marked as answer by Carl Cai Wednesday, November 19, 2014 11:16 AM
    Friday, November 14, 2014 5:53 PM