locked
MSI Error 1603 installing AppFabric 1.1 / Win7 x64

    Question

  • I am receiving MSI Error Code 1603 trying to install AppFabric 1.1 Hosting.  A month or so ago, I installed AppFabric 1.1 Caching, and it installed fine. My hunch is that some recent Windows Update caused this issue.

    I am running Windows 7 Enterprise 64 bit.  I previously had AppFabric 1.0 installed, and completely uninstalled it.

    My coworker is having the exact same problem with the exact same history as me - except that she is only now installing AppFabric 1.1 - and only Caching (not Hosting).

    Here is the error in the Windows Event Log (Setup).  [The installation log file shows no more details than this.]

    Microsoft.ApplicationServer.Setup.Core.SetupException: AppFabric installation failed because installer MSI returned with error code : 1603
       at Microsoft.ApplicationServer.Setup.Installer.WindowsInstallerProxy.GenerateAndThrowSetupException(Int32 exitCode, LogEventSource logEventSource)
       at Microsoft.ApplicationServer.Setup.Installer.WindowsInstallerProxy.Invoke(LogEventSource logEventSource, InstallMode installMode, String packageIdentity, List`1 updateList, List`1 customArguments)
       at Microsoft.ApplicationServer.Setup.Installer.MsiInstaller.InstallSelectedFeatures()
       at Microsoft.ApplicationServer.Setup.Installer.MsiInstaller.Install()
       at Microsoft.ApplicationServer.Setup.Client.ProgressPage.StartAction()

    Any help would be most appreciated.  Thanks.

    Thursday, May 03, 2012 8:18 PM

All replies

  • 1603 is a generic MSI error, can you share the step at which it failed in the logs ?

    Also, can you check the value of your PSModulepath environment variable ? We have seen in the past that a wrong value there sometimes throws.

    Friday, May 04, 2012 4:39 AM
  • Ankit, thanks for your reply.

    My PSModulePath seems fine:

    PS C:\> $env:PSModulePath
    C:\Users\U1FC11\Documents\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules\;C:\Program Files\AppFabric 1.1 for Windows Server\PowershellModules

    Below is an excerpt from my Detailed Installation report; followed by an excerpt from an even more detailed log that I found.


    2012-05-04 12:52:43, Information           Setup  OS Name:                   Windows 7 Enterprise
    2012-05-04 12:52:43, Information           Setup  OS Edition:                Enterprise
    2012-05-04 12:52:43, Information           Setup  OSVersion:                 Microsoft Windows NT 6.1.7600.0
    2012-05-04 12:52:43, Information           Setup  CurrentCulture:            en-US
    2012-05-04 12:52:43, Information           Setup  Processor Architecture:    AMD64
    2012-05-04 12:52:43, Information           Setup  Event Registration Source :    AppFabric_Setup
    2012-05-04 12:52:43, Information           Setup  
    2012-05-04 12:52:43, Information           Setup  Microsoft.ApplicationServer.Setup.Upgrade.V1UpgradeSetupModule : Initiating V1.0 Upgrade module.
    2012-05-04 12:53:32, Information           Setup  Microsoft.ApplicationServer.Setup.Upgrade.V1UpgradeSetupModule : Initiating V1 Upgrade pre-install.
    2012-05-04 12:53:32, Information           Setup  Microsoft.ApplicationServer.Setup.Upgrade.V1UpgradeSetupModule : V1.0 is not installed, not taking backup.
    2012-05-04 12:53:32, Information           Setup  Enumerating Windows features
    2012-05-04 12:53:39, Information           Setup  Executing C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe with commandline -iru.
    2012-05-04 12:53:45, Information           Setup  Return code from aspnet_regiis.exe is 0
    2012-05-04 12:53:45, Information           Setup  Windows features successfully enabled.
    2012-05-04 12:53:45, Information           Setup  Process.Start: C:\Windows\system32\msiexec.exe /quiet /norestart /i "{96E70525-4CD1-4920-9C0B-91055C79A962}" ADDDEFAULT=Worker,WorkerAdmin,Setup /l*vx "C:\Users\U1FC11\AppData\Local\Temp\AppServerSetup1_1(2012-05-04 12-53-45).log" LOGFILE="C:\Users\U1FC11\AppData\Local\Temp\AppServerSetup1_1_CustomActions(2012-05-04 12-53-45).log" INSTALLDIR="C:\Program Files\AppFabric 1.1 for Windows Server\" LANGID=en-US
    2012-05-04 12:53:57, Information           Setup  Process.ExitCode: 0x00000643
    2012-05-04 12:53:57, Error                 Setup  AppFabric installation failed because installer MSI returned with error code : 1603
    2012-05-04 12:53:57, Error                 Setup  
    2012-05-04 12:53:57, Error                 Setup  AppFabric installation failed because installer MSI returned with error code : 1603
    2012-05-04 12:53:57, Error                 Setup  
    2012-05-04 12:53:57, Information           Setup  Microsoft.ApplicationServer.Setup.Core.SetupException: AppFabric installation failed because installer MSI returned with error code : 1603
    2012-05-04 12:53:57, Information           Setup     at Microsoft.ApplicationServer.Setup.Installer.WindowsInstallerProxy.GenerateAndThrowSetupException(Int32 exitCode, LogEventSource logEventSource)
    2012-05-04 12:53:57, Information           Setup     at Microsoft.ApplicationServer.Setup.Installer.WindowsInstallerProxy.Invoke(LogEventSource logEventSource, InstallMode installMode, String packageIdentity, List`1 updateList, List`1 customArguments)
    2012-05-04 12:53:57, Information           Setup     at Microsoft.ApplicationServer.Setup.Installer.MsiInstaller.InstallSelectedFeatures()
    2012-05-04 12:53:57, Information           Setup     at Microsoft.ApplicationServer.Setup.Installer.MsiInstaller.Install()
    2012-05-04 12:53:57, Information           Setup     at Microsoft.ApplicationServer.Setup.Client.ProgressPage.StartAction()
    2012-05-04 12:53:57, Information           Setup  
    2012-05-04 12:53:57, Information           Setup  === Summary of Actions ===
    2012-05-04 12:53:57, Information           Setup  Required Windows components	:  Completed Successfully
    2012-05-04 12:53:57, Information           Setup  Microsoft .NET Framework 3.5.1			:  Completed Successfully
    2012-05-04 12:53:57, Information           Setup  Windows Communication Foundation Non-HTTP Activation			:  Completed Successfully
    2012-05-04 12:53:57, Information           Setup  IIS Management Console			:  Completed Successfully
    2012-05-04 12:53:57, Information           Setup  AppFabric 1.1 for Windows Server	:  Failed
    2012-05-04 12:53:57, Information           Setup  Hosting Services			:  Failed
    2012-05-04 12:53:57, Information           Setup  Hosting Administration			:  Failed
    2012-05-04 12:53:57, Information           Setup  Microsoft Update	:  Skipped
    2012-05-04 12:53:57, Information           Setup  Microsoft Update			:  Skipped
    2012-05-04 12:53:57, Information           Setup  
    2012-05-04 12:53:57, Information           Setup  ===== Logging stopped: 2012-05-04 12:53:57-04:00 =====


    MSI (s) (44:24) [12:53:50:569]: File: C:\Program Files\AppFabric 1.1 for Windows Server\PowershellModules\ApplicationServer\ApplicationServer.psd1;	To be installed;	Won't patch;	No existing file
    MSI (s) (44:24) [12:53:50:569]: Resolving source.
    MSI (s) (44:24) [12:53:50:569]: Using cached product context: machine assigned for product: 52507E691DC40294C9B01950C5979A26
    MSI (s) (44:24) [12:53:50:569]: Using cached product context: machine assigned for product: 52507E691DC40294C9B01950C5979A26
    MSI (s) (44:24) [12:53:50:569]: User policy value 'SearchOrder' is 'nmu'
    MSI (s) (44:24) [12:53:50:569]: User policy value 'DisableMedia' is 0
    MSI (s) (44:24) [12:53:50:569]: Machine policy value 'AllowLockdownMedia' is 0
    MSI (s) (44:24) [12:53:50:569]: SOURCEMGMT: Media enabled only if package is safe.
    MSI (s) (44:24) [12:53:50:569]: SOURCEMGMT: Looking for sourcelist for product {96E70525-4CD1-4920-9C0B-91055C79A962}
    MSI (s) (44:24) [12:53:50:569]: Using cached product context: machine assigned for product: 52507E691DC40294C9B01950C5979A26
    MSI (s) (44:24) [12:53:50:569]: SOURCEMGMT: Adding {96E70525-4CD1-4920-9C0B-91055C79A962}; to potential sourcelist list (pcode;disk;relpath).
    MSI (s) (44:24) [12:53:50:569]: Using cached product context: machine assigned for product: 52507E691DC40294C9B01950C5979A26
    MSI (s) (44:24) [12:53:50:569]: SOURCEMGMT: Now checking product {96E70525-4CD1-4920-9C0B-91055C79A962}
    MSI (s) (44:24) [12:53:50:569]: SOURCEMGMT: Media is enabled for product.
    MSI (s) (44:24) [12:53:50:569]: SOURCEMGMT: Attempting to use LastUsedSource from source list.
    MSI (s) (44:24) [12:53:50:569]: SOURCEMGMT: Trying source d:\e10030a153d6ce9e5c21\Packages\.
    MSI (s) (44:24) [12:53:50:569]: Note: 1: 2203 2: D:\e10030a153d6ce9e5c21\Packages\appfabric-1.1-for-windows-server-64.msi 3: -2147287037 
    MSI (s) (44:24) [12:53:50:569]: SOURCEMGMT: Source is invalid due to missing/inaccessible package.
    MSI (s) (44:24) [12:53:50:569]: Note: 1: 1706 2: -2147483647 3: appfabric-1.1-for-windows-server-64.msi 
    MSI (s) (44:24) [12:53:50:569]: SOURCEMGMT: Processing net source list.
    MSI (s) (44:24) [12:53:50:569]: Note: 1: 1706 2: -2147483647 3: appfabric-1.1-for-windows-server-64.msi 
    MSI (s) (44:24) [12:53:50:569]: SOURCEMGMT: Processing media source list.
    MSI (s) (44:24) [12:53:50:572]: SOURCEMGMT: Trying media source E:\.
    MSI (s) (44:24) [12:53:50:573]: Note: 1: 2203 2: E:\appfabric-1.1-for-windows-server-64.msi 3: -2147287038 
    MSI (s) (44:24) [12:53:50:573]: SOURCEMGMT: Source is invalid due to missing/inaccessible package.
    MSI (s) (44:24) [12:53:50:573]: Note: 1: 1706 2: -2147483647 3: appfabric-1.1-for-windows-server-64.msi 
    MSI (s) (44:24) [12:53:50:573]: SOURCEMGMT: Processing URL source list.
    MSI (s) (44:24) [12:53:50:573]: Note: 1: 1402 2: UNKNOWN\URL 3: 2 
    MSI (s) (44:24) [12:53:50:573]: Note: 1: 1706 2: -2147483647 3: appfabric-1.1-for-windows-server-64.msi 
    MSI (s) (44:24) [12:53:50:573]: Note: 1: 1706 2:  3: appfabric-1.1-for-windows-server-64.msi 
    MSI (s) (44:24) [12:53:50:573]: SOURCEMGMT: Failed to resolve source
    MSI (s) (44:24) [12:53:50:573]: Product: AppFabric 1.1 for Windows Server -- Error 1706. An installation package for the product AppFabric 1.1 for Windows Server cannot be found. Try the installation again using a valid copy of the installation package 'appfabric-1.1-for-windows-server-64.msi'.
    
    Error 1706. An installation package for the product AppFabric 1.1 for Windows Server cannot be found. Try the installation again using a valid copy of the installation package 'appfabric-1.1-for-windows-server-64.msi'.
    MSI (s) (44:24) [12:53:50:576]: User policy value 'DisableRollback' is 0
    MSI (s) (44:24) [12:53:50:576]: Machine policy value 'DisableRollback' is 0
    Action ended 12:53:50: InstallFinalize. Return value 3.

    Thanks again!

    Friday, May 04, 2012 5:32 PM
  • Hey dave, looks like there is an issue with locating/accessing the MSI package

    Quick and Dirty workaround that should work is :

    1. Run WindowsServerAppFabricSetup_x64.exe /x:d:\e10030a153d6ce9e5c21

    2. For good effect, also copy packages\appfabric-1.1-for-windows-server-64.msi to your e: (root) and mark it with read permissions to 'everyone' in securities tab on right click.

    3. Run setup.exe from d:\e10030a153d6ce9e5c21  and cross your fingers :)


    Friday, May 04, 2012 6:17 PM
  • Hi Ankit, I think we're one step closer.

    I did exactly as you said - except that I don't have an E: drive. But I copied packages\appfabric-1.1-for-windows-server-64.msi to C: (root) and D: (root) and set read permissions to "everyone".

    I got the same install error, but different messages in the super-detailed log, as below.


    MSI (s) (C0:A0) [16:00:55:269]: Closing MSIHANDLE (69) of type 790541 for thread 5792
    MSI (s) (C0:A0) [16:00:55:269]: SOURCEMGMT: Source is invalid due to client source out of sync (product code is the same).
    MSI (s) (C0:A0) [16:00:55:269]: Note: 1: 1731 2: -2147483645 3: appfabric-1.1-for-windows-server-64.msi 
    MSI (s) (C0:A0) [16:00:55:269]: SOURCEMGMT: Processing net source list.
    MSI (s) (C0:A0) [16:00:55:269]: Note: 1: 1706 2: -2147483647 3: appfabric-1.1-for-windows-server-64.msi 
    MSI (s) (C0:A0) [16:00:55:269]: SOURCEMGMT: Processing media source list.
    MSI (s) (C0:A0) [16:00:55:271]: Note: 1: 2203 2:  3: -2147287037 
    MSI (s) (C0:A0) [16:00:55:271]: SOURCEMGMT: Source is invalid due to missing/inaccessible package.
    MSI (s) (C0:A0) [16:00:55:271]: Note: 1: 1706 2: -2147483647 3: appfabric-1.1-for-windows-server-64.msi 
    MSI (s) (C0:A0) [16:00:55:271]: SOURCEMGMT: Processing URL source list.
    MSI (s) (C0:A0) [16:00:55:271]: Note: 1: 1402 2: UNKNOWN\URL 3: 2 
    MSI (s) (C0:A0) [16:00:55:271]: Note: 1: 1706 2: -2147483647 3: appfabric-1.1-for-windows-server-64.msi 
    MSI (s) (C0:A0) [16:00:55:271]: Note: 1: 1731 2:  3: appfabric-1.1-for-windows-server-64.msi 
    MSI (s) (C0:A0) [16:00:55:271]: SOURCEMGMT: Failed to resolve source
    MSI (s) (C0:A0) [16:00:55:271]: Product: AppFabric 1.1 for Windows Server -- Error 1731. The source installation package for the product AppFabric 1.1 for Windows Server is out of sync with the client package. Try the installation again using a valid copy of the installation package 'appfabric-1.1-for-windows-server-64.msi'.
    
    Error 1731. The source installation package for the product AppFabric 1.1 for Windows Server is out of sync with the client package. Try the installation again using a valid copy of the installation package 'appfabric-1.1-for-windows-server-64.msi'.
    MSI (s) (C0:A0) [16:00:55:274]: User policy value 'DisableRollback' is 0

    Any further thoughts? Thanks so much for your help.

    Friday, May 04, 2012 8:18 PM
  • This really does look like MSI is corrupted on the machine, probably some cleanup would need to be run, did you try an upgrade from 1.0 to 1.1 ?
    Monday, May 07, 2012 4:59 PM
  • Ankit, at one point I had AppFabric 1.0 installed - but did a full uninstall.
    Monday, May 07, 2012 6:35 PM
  • Please share the full logs, definitely a MSI issue, I am engaging with someone from the relevant team to see if this can be solved.
    Saturday, May 12, 2012 11:55 AM
  • Hi all. After a long period of analisys, I've found the solution and the probably cause of the error.

    Every time that I tried to reinstall the AppFabric, I got the following:

    Executing action : Microsoft.ApplicationServer.InstallHelper.FirewallExceptionAction

    13/07/2012 11:25:56 EXEPATH=powershell.exe PARAMS=-command "$str = [System.Environment]::GetEnvironmentVariable(\"PSModulePath\", [System.EnvironmentVariableTarget]::Machine); $str = $str+\";C:\Program Files\AppFabric 1.1 for Windows Server\PowershellModules\"; C:\Windows\system32\setx.exe /M PSModulePath \"$str\"" LOGFILE=D:\Users\lcmas_001\AppData\Local\Temp\AppServerSetup1_1_CustomActions(2012-07-13 11-25-19).log

    Error: ERROR: Invalid syntax.

    Default option is not allowed more than '2' time(s).

    Error: Type "SETX /?" for usage.

    ExitCode=1

    Well. Taking a look in the code, it concatenates the Enviroment Variable with more data. Write?

    Looking at enviroment variable (HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/Session Manager/Enviroment/PSModulePath), I have:

    ;C:\Program Files\AppFabric 1.1 for Windows Server\PowershellModules;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Powershell\Modules

    And the app increase the value with: ;C:\Program Files\AppFabric 1.1 for Windows Server\PowershellModules

    To solve the question, I have deleted the PSModulePath variable from Enviroment Variables. Simple.

    After that, everything worked fine.

    I belive the problem is at "Variable disposing" when unistalling and in the logic for concat the values.

    Regards


    [MSP RJ] Lucas Massena


    Friday, July 13, 2012 3:14 PM
  • Hi - not sure if im being helpful but i had exactly the same problem - background:

    Fresh install of Server 2012 Essentials RC
    Installed AppPatch as part of the SharePoint 2012 install pre-requisites alongside SQL 2012 essentials,
    Deleted everything as it didnt work (SQL config issues!)
    The PSModulePath environ variable clearly was not cleared during the un-install as discussed above...

    Deleted it in the registry - install ran without any problem!!
    Good luck!

    Scott


    Just a plain old end user

    Friday, September 21, 2012 5:54 PM
  • Hi - not sure if im being helpful but i had exactly the same problem - background:

    Fresh install of Server 2012 Essentials RC
    Installed AppPatch as part of the SharePoint 2012 install pre-requisites alongside SQL 2012 essentials,
    Deleted everything as it didnt work (SQL config issues!)
    The PSModulePath environ variable clearly was not cleared during the un-install as discussed above...

    Deleted it in the registry - install ran without any problem!!
    Good luck!

    Scott


    Just a plain old end user

    I got exactly the same problem. In my case, there is a double quote at the end of "PSModulePath environ variable". After removing that "double quote", the installation succeeded.


    Eric Fang


    • Edited by Eric Fang Sunday, October 14, 2012 10:41 AM
    • Proposed as answer by 4DiZ Thursday, May 30, 2013 1:34 PM
    Sunday, October 14, 2012 10:39 AM
  • Get into Regedit confirm that the path for PSModulePath environ variable is in its proper state.

    HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/Session Manager/Enviroment/PSModulePath.

    i had the same problem, and after lots of searching, i noticed my psmodulepath had a " at the end of the path.

    i deleted it, and all started working like it should.

    yours might not be the " , but look through all the paths in it just to be sure


    Regards

    • Proposed as answer by amirsamad Saturday, December 29, 2012 12:15 AM
    Sunday, November 25, 2012 1:11 PM
  • Thanks Eric, in my case the PSModulePath referred to my Azure SDK folder. I have removed the var and retried the install of AppFabric 1.1 on my Windows 8 dev box and it worked.

    bart

    Monday, December 10, 2012 5:02 PM
  • Ankit,

    Thanks for all of your assistance.

    I think I previously had been unclear about something ... I had AppFabric 1.1 Caching installed, but not Hosting - and when trying to Add Components > Hosting, I kept receiving the 1603 error.

    After several months, I came back to this today. When Adding Components > Hosting, I got the same 1603 error.

    But then I tried something that I don't know why I hadn't tried before ... I completely uninstalled AppFabric 1.1 and then re-installed it (Caching + Hosting).

    Everything installed successfully, and it's now patiently waiting for me to go through the Configuration Wizard.  :)

    Thanks again,

    Dave

    Tuesday, December 18, 2012 8:14 PM
  • I have similar issue before. It turns out that when you installed AppFabric, there is some history data in Registry which includes the temp msi folder. when you try to add new feature, it can not find the folder any more. so you need to find out the folder from log and follow what Ankit suggested to have new feature installed.
    Friday, December 28, 2012 6:45 PM
  • I had this problem as well...

    When I looked into the log file, I found the log file of the AppFabric installation and noticed that there was an error which proved to be helpful in my case.

    It appeared that the groups which app fabric uses to define its administrators and observers already existed and therefore the installation failed.

    I removed those groups (AS_Administrators, AS_Observers) and then the installation succeeded.

    HTH!

    Wednesday, January 02, 2013 1:53 PM
  • In my case, the resolution was similar to Rob Vanmeert.

    The initial attempt failed to install AppFabric 1.1 due to  not having the Windows Update Service running. However the install had created the AS_Observers group (but not the AS_Administrators). After removing the AS_Observers group and re-running I had a successful install. 

    I was installing on Windows Server 2012 and only installing the hosting options, not the caching. The service manager showed the relevant event logs which detailed the AS_Observers account as the issue [Source= MsiInstaller, Log=Application].

    Cheers.

    Thursday, March 21, 2013 2:56 AM