locked
MSI fails with error code 1603 RRS feed

  • Question

  • User1627264588 posted

    My web application installation is intermittantly failing with error code 1603 on 2008 R2 with IIS 7 and IIS6 compatibility installed.

    Here is an excerpt from the log file:

    INFO   : [03/15/2013 00:40:14:632] [ApplyWebFolderProperties                ]: Getting web folder property token...
    INFO   : [03/15/2013 00:40:14:632] [ApplyWebFolderProperties                ]: Token is '/LM/W3SVC/1/ROOT/FooSite/Services'.
    INFO   : [03/15/2013 00:40:14:632] [ApplyWebFolderProperties                ]: Key path is '/LM/W3SVC/1/ROOT/FooSite/Services'.
    INFO   : [03/15/2013 00:40:14:648] [ApplyWebFolderProperties                ]: Opening key '/LM/W3SVC/1/ROOT/FooSite/Services'.
    INFO   : [03/15/2013 00:40:14:648] [ApplyWebFolderProperties                ]: Opening key '/LM/W3SVC/1/ROOT/FooSite.
    INFO   : [03/15/2013 00:40:14:648] [ApplyWebFolderProperties                ]: Adding key '/Services'.
    INFO   : [03/15/2013 00:40:14:648] [ApplyWebFolderProperties                ]: Closing key...
    ERROR  : [03/15/2013 00:40:15:163] [ApplyWebFolderProperties                ]: FAILED: -2147024864
    ERROR  : [03/15/2013 00:40:15:163] [ApplyWebFolderProperties                ]: FAILED: -2147024864
    ERROR  : [03/15/2013 00:40:15:163] [ApplyWebFolderProperties                ]: Custom Action failed with code: '32'
    ERROR  : [03/15/2013 00:40:15:163] [ApplyWebFolderProperties                ]: Custom Action failed with code: '32'
    INFO   : [03/15/2013 00:40:15:163] [ApplyWebFolderProperties                ]: Custom Action completed with return code: '32'
    CustomAction WEBCA_ApplyWebFolderProperties returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)

    -2147024864 translates as "The process cannot access the file because it is being used by another process".

    Which file? Which process? iisreset or net stop iisadmin do not help.

    Friday, March 15, 2013 7:43 AM

Answers

  • User-166373564 posted

    Hi ADigSig

    ADigSig

    Which file? Which process? iisreset or net stop iisadmin do not help.

    when talking about "deploying applications via MSI to IIS Servers", you are really talking about some arbitrary MSI CustomAction DLL that performs this work.

    You could learn more about deploying applications via MSI to IIS Servers here.

    Additioally, you could learn how to use Visual Studio Web Deployment Projects and Creating an MSI for the project/website below,

    Using Visual Studio Web Deployment Projects and Creating an MSI for the project/website

    At the same time other deployment methods are also available for you, such as web deployment package, one-click publish,

    ASP.NET Web Application Project Deployment Overview

    hope it helps you,

    With regards

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, March 19, 2013 1:45 AM