AppFabric installation failed because installer MSI returned with error code : 1603

62

When I reinstall the AppFabric 1.1, Why I'm getting this error "AppFabric installation failed because installer MSI returned with error code : 1603".?

I did run it with administrative rights.

Below is the error log.


2012-06-26 18:20:07, Information           Setup  ===== Logging started: 2012-06-26 18:20:07+08:00 =====
2012-06-26 18:20:07, Information           Setup  File:             c:\a0ddcd54d09ca070ef\setup.exe
2012-06-26 18:20:07, Information           Setup  InternalName:     Setup.exe
2012-06-26 18:20:07, Information           Setup  OriginalFilename: Setup.exe
2012-06-26 18:20:07, Information           Setup  FileVersion:      1.1.2106.32
2012-06-26 18:20:07, Information           Setup  FileDescription:  Setup.exe
2012-06-26 18:20:07, Information           Setup  Product:          Microsoft(R) Windows(R) Server AppFabric
2012-06-26 18:20:07, Information           Setup  ProductVersion:   1.1.2106.32
2012-06-26 18:20:07, Information           Setup  Debug:            False
2012-06-26 18:20:07, Information           Setup  Patched:          False
2012-06-26 18:20:07, Information           Setup  PreRelease:       False
2012-06-26 18:20:07, Information           Setup  PrivateBuild:     False
2012-06-26 18:20:07, Information           Setup  SpecialBuild:     False
2012-06-26 18:20:07, Information           Setup  Language:         Language Neutral
2012-06-26 18:20:07, Information           Setup  
2012-06-26 18:20:07, Information           Setup  OS Name:                   Windows 7 Ultimate
2012-06-26 18:20:07, Information           Setup  OS Edition:                Ultimate
2012-06-26 18:20:07, Information           Setup  OSVersion:                 Microsoft Windows NT 6.1.7601 Service Pack 1
2012-06-26 18:20:07, Information           Setup  CurrentCulture:            en-US
2012-06-26 18:20:07, Information           Setup  Processor Architecture:    x86
2012-06-26 18:20:07, Information           Setup  Event Registration Source :    AppFabric_Setup
2012-06-26 18:20:07, Information           Setup  
2012-06-26 18:20:07, Information           Setup  Microsoft.ApplicationServer.Setup.Upgrade.V1UpgradeSetupModule : Initiating V1.0 Upgrade module.
2012-06-26 18:20:07, Information           Setup  Microsoft.ApplicationServer.Setup.Upgrade.V1UpgradeSetupModule : V1.0 is not installed.
2012-06-26 18:20:33, Information           Setup  Microsoft.ApplicationServer.Setup.Upgrade.V1UpgradeSetupModule : Initiating V1 Upgrade pre-install.
2012-06-26 18:20:33, Information           Setup  Microsoft.ApplicationServer.Setup.Upgrade.V1UpgradeSetupModule : V1.0 is not installed, not taking backup.
2012-06-26 18:20:33, Information           Setup  Enumerating Windows features
2012-06-26 18:20:36, Information           Setup  Executing c:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe with commandline -iru.
2012-06-26 18:20:46, Information           Setup  Return code from aspnet_regiis.exe is 0
2012-06-26 18:20:46, Information           Setup  Windows features successfully enabled.
2012-06-26 18:20:46, Information           Setup  Process.Start: C:\Windows\system32\msiexec.exe /quiet /norestart /i "c:\a0ddcd54d09ca070ef\Packages\AppFabric-1.1-for-Windows-Server-32.msi" ADDDEFAULT=Worker,WorkerAdmin,CacheClient,Setup /l*vx "C:\Users\COMPUTER-Name\AppData\Local\Temp\AppServerSetup1_1(2012-06-26 18-20-46).log" LOGFILE="C:\Users\COMPUTER-Name\AppData\Local\Temp\AppServerSetup1_1_CustomActions(2012-06-26 18-20-46).log" INSTALLDIR="C:\Program Files\AppFabric 1.1 for Windows Server" LANGID=en-US
2012-06-26 18:21:46, Information           Setup  Process.ExitCode: 0x00000643
2012-06-26 18:21:46, Error                 Setup  AppFabric installation failed because installer MSI returned with error code : 1603
2012-06-26 18:21:46, Error                 Setup  
2012-06-26 18:21:46, Error                 Setup  AppFabric installation failed because installer MSI returned with error code : 1603
2012-06-26 18:21:46, Error                 Setup  
2012-06-26 18:21:46, Information           Setup  Microsoft.ApplicationServer.Setup.Core.SetupException: AppFabric installation failed because installer MSI returned with error code : 1603
2012-06-26 18:21:46, Information           Setup     at Microsoft.ApplicationServer.Setup.Installer.WindowsInstallerProxy.GenerateAndThrowSetupException(Int32 exitCode, LogEventSource logEventSource)
2012-06-26 18:21:46, Information           Setup     at Microsoft.ApplicationServer.Setup.Installer.WindowsInstallerProxy.Invoke(LogEventSource logEventSource, InstallMode installMode, String packageIdentity, List`1 updateList, List`1 customArguments)
2012-06-26 18:21:46, Information           Setup     at Microsoft.ApplicationServer.Setup.Installer.MsiInstaller.InstallSelectedFeatures()
2012-06-26 18:21:46, Information           Setup     at Microsoft.ApplicationServer.Setup.Installer.MsiInstaller.Install()
2012-06-26 18:21:46, Information           Setup     at Microsoft.ApplicationServer.Setup.Client.SetupWorkflow.StartActionPhase()
2012-06-26 18:21:46, Information           Setup     at Microsoft.ApplicationServer.Setup.Client.ProgressPage.StartAction()
2012-06-26 18:21:46, Information           Setup  
2012-06-26 18:21:46, Information           Setup  === Summary of Actions ===
2012-06-26 18:21:46, Information           Setup  Required Windows components   :  Completed Successfully
2012-06-26 18:21:46, Information           Setup  Microsoft .NET Framework 3.5.1            :  Completed Successfully
2012-06-26 18:21:46, Information           Setup  Windows Communication Foundation Non-HTTP Activation          :  Completed Successfully
2012-06-26 18:21:46, Information           Setup  IIS Management Console            :  Completed Successfully
2012-06-26 18:21:46, Information           Setup  AppFabric 1.1 for Windows Server  :  Failed
2012-06-26 18:21:46, Information           Setup  Hosting Services          :  Failed
2012-06-26 18:21:46, Information           Setup  Cache Client          :  Failed
2012-06-26 18:21:46, Information           Setup  Hosting Administration            :  Failed
2012-06-26 18:21:46, Information           Setup  Microsoft Update  :  Skipped
2012-06-26 18:21:46, Information           Setup  Microsoft Update          :  Skipped
2012-06-26 18:21:46, Information           Setup  
2012-06-26 18:21:46, Information           Setup  ===== Logging stopped: 2012-06-26 18:21:46+08:00 =====


windows-installer
appfabric
asked on Stack Overflow Jun 26, 2012 by JimboyPogi • edited Jun 26, 2012 by PhilPursglove

18 Answers

123

I had a similar problem

9/21/2012 11:28:01 AM 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=C:\Users\XXXXXXX\AppData\Local\Temp\AppServerSetup1_1_CustomActions(2012-09-21 11-27-26).log Error: ERROR: Invalid syntax. Default option is not allowed more than '2' time(s). Error: Type "SETX /?" for usage.

My issue was the PSModulePath having an improper " in it

it was:

C:\Windows\system32\WindowsPowerShell\v1.0\Modules\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\PowerShell\Modules"

removing the extraneous " corrected the issue

To change this go to Control Panel -> System -> Advanced System Settings -> On the Advanced Tab Select Enviroment Variables -> Under System Variables there is a Variable named PSModulePath, select it -> Click Edit -> Remove trailing "

System Properties

answered on Stack Overflow Mar 20, 2013 by BozoJoe • edited Apr 3, 2014 by Ben Anderson
22

I fixed this error in my deployment. It only occured for me if I had run the installer once before. As soon as you start the Installer, it will create a temporary folder. Copy that folder and save it off with a different name. Now cancel that install.

Open Regedit and search (CTRL+F) for "AppFabric". You should find an entry under HKEY_CLASSES_ROOT\Installer\Products{SomeStringOfCharacters}. Under that check SourceList it will have a Key called LastUsedSource. Update the folder path within it to match the temporary folder we just saved off. Also check SourceList/Net. It will likely have multiple keys with numeric Names. Make sure the Data value for them match your temporary folder path as well.

Now go into your temporary folder and run Setup.exe. It should complete now. I've seen behavior like this with other installers that first extract files to a temporary folder. Re-running the installer mostly works from the new temporary folder but some aspect of it holds on to the old temporary folder in the registry and tries to load something up from the old location.

answered on Stack Overflow Jan 11, 2013 by Matt Poland
14

I was trying to re-install AppFabric 1.1 on my Dev Computer running Windows 8 and I get this error. I found here that adding this :

%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\  

to PSModulePath (System properties -> Environment Variables -> System variables) solved my issue.

answered on Stack Overflow Jan 16, 2013 by Guillaume Raymond
6

Looks like I got all the possible issues with that installation.

Troubleshooting: look at actual log file (in the log provided by the installer look for LOGFILE=...):

Process.Start: C:\Windows\system32\msiexec.exe /quiet /norestart /i "c:\2964b29c3cd7dcb37c9e\Packages\AppFabric-1.1-for-Windows-Server-64.msi" ADDDEFAULT=Worker,WorkerAdmin,CacheService,CacheClient,CacheAdmin,Setup /l*vx "c:\Temp\AppServerSetup1_1(2014-07-09 11-58-09).log" LOGFILE="c:\Temp\AppServerSetup1_1_CustomActions(2014-07-09 11-58-09).log" INSTALLDIR="C:\Program Files\AppFabric 1.1 for Windows Server" LANGID=en-US

After you located the actual log file, check for errors. I had to:

  1. Fails to create AS_Observer:
    • Exec: c:\Windows\system32\net.exe localgroup AS_Observers /delete
  2. Fails to set ACLs on config folder:
    • Exec: md C:\Windows\SysWOW64\inetsrv\config
  3. COM not registered:
    • Install activation service feature for .NET 3.5 (both HTTP and non-HTTP) and enable HTTP activation for .NET 4.5

done. Hope that helps.

answered on Stack Overflow Jul 9, 2014 by Mikl X
6

In my case it was a localgroup which was already existed through a previous install. Removing localgroup (AS_Observers) resolved my issue.

net localgroup AS_Observers /delete

hope this might help someone.

answered on Stack Overflow Aug 6, 2014 by asolvent
5

I also hit this error…

The installation msi will try to create a new task in the Windows Task scheduler to remind you to give customer feedback. This install step executes regardless of whether you do or do not click the check box to participate in customer feedback. In many corporate environments (including mine) creating new windows tasks is denied to all but domain administrators. As a result, running as a local admin is not sufficient and the entire installation fails when adding the task returns “access denied”. This shows up in the install log as a 1603.

The only workaround we could find was to manually pull all the files out of the msi, remove the “add schedule task” from the install script, and then create a new msi. After that one line change, it worked fine.

answered on Stack Overflow Aug 30, 2012 by ErnieL
3

Although many links talk about deleting the trailing space in the environment variable, that did not apply to my case as there was no trailing space in my case.

https://serverfault.com/a/593339/270420

This was the answer that finally helped me out. I had to delete the AS_Observers and AS_Administrators groups created during previous installation attempt and then reinstall.

Doing this resolved the problem and I could successfully install AppFabric. Couldn't post this as answer in the server fault site due to insufficient reputation.

answered on Stack Overflow Oct 16, 2015 by Amogh Natu • edited Apr 13, 2017 by Community
3

I've also had a similar problem. The cause was AppFabric generated a scheduled task and it was left behind when it was uninstalled.

the error message in the logs:

"/create /tn "\Microsoft\Windows\AppFabric\Customer Experience Improvement Program\Consolidator" /xml "C:\Program Files\AppFabric 1.1 for Windows Server\Consolidator.xml" Error: ERROR: Cannot create a file when that file already exists."

It can't create the Task because it already exists.

To delete this task.

  • Go to: %SYSTEM32%\Tasks\Microsoft\Windows.
  • Delete the AppFabric Folder.

Then try to re-install it again.

Note: You could also try to delete it from the Task Scheduler GUI but in my case it wasn't shown there.

answered on Stack Overflow Apr 13, 2017 by shawkyz1
2

Last but not least, I've found this page. Is quite complete the cause and further explanation.

SOLVED: Error 1306 AppFabric + Windows Server 2012

answered on Stack Overflow Apr 23, 2014 by Felix Aballi
1

I had this same error. Just had to install IIS and everything worked.

answered on Stack Overflow Aug 21, 2014 by JoeBrockhaus • edited Aug 21, 2014 by JoeBrockhaus
0

Thanks for all of the help.

The log error actually tells you what to do. It is complaining because the file already exists below.

Delete the "Consolidator" file from:

C:\Windows\System32\Tasks\Microsoft\Windows\AppFabric\Customer Experience Improvement Program

Courtesy of Charles Babcock, MCT

answered on Stack Overflow Nov 17, 2013 by Charles Babcock
0

My problem was that there was task already for Customer Experience Improvement Program in Task Scheduler "\Microsoft\Windows\AppFabric\Customer Experience Improvement Program\Consolidator". I removed that task and after that installation succeeded.

answered on Stack Overflow Jan 8, 2014 by user171302
0

In my case it was: - My system account contained two words -- Name and Surname, like "Vasya Pupkin", so web platform installer saw only first "Vasya", so you need to rename system user to "VasyaPupkin" without space symbol, or install under different account. - Also I've noticed error in PowerShell env path, so check System variables PSModulePath, and remove unnecessary - symbol (") (SQL server path contains error, \PowerShell\Modules")

answered on Stack Overflow Aug 19, 2014 by framerelay
0

I finally made it. I was able to install AppFabric for Win Server 2012 R2. I am not really sure what exact change made it worked. I saw and tried many many solutions from various websites but above solution of making changes to Registry - 'HKEY_CLASSES_ROOT'worked (please think twice before making changes to Registry on production environment - this was my demo environment so I just went ahead); I changed the temporary folder path but it did not worked first time. Then I deleted the registry entry and then uninstalled AppFabric 1.1 pre-installed instance from Control panel. Then I tried Installation and it worked. This also restored the Registry entry.

answered on Stack Overflow Aug 31, 2015 by user868150
0

May be I am really late for reply, Seriously guys this error resolution took hours of time, i tried every possible solution.

  1. installing IIS
  2. changing Power Shell from environment variable.
  3. Deleting the local group

While, the solution is really really simple. If you look closely in environment variable PSModulePath there will be commas at end of the value simply remove those and enjoy

answered on Stack Overflow Apr 14, 2017 by theGame
0

I had the same problem today. I've found this link, where you can try 3 solutions. First solution helped for me.

Microsoft ANSWER for this issue

answered on Stack Overflow Mar 20, 2018 by Paweł Iwaneczko
0

For me the following method worked, Firstly ensure that windows update service is running from services.msc or you can run this command in an administrator Command Prompt -

net start wuauserv

Next edit the following registry from regedit -> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp -> MajorVersion -> Change this value from 10 to 9.

Then try installing the AppFabric and it should work. Note :- revert back to registry value changes you made to ensure there are no problems in future if any.

answered on Stack Overflow May 15, 2020 by Prateek Agarwal • edited May 15, 2020 by MaartenDev
0

So, I was having the same issue. The main reason I am installing Appfabric is to create a SharePoint 2013 development server.
What did not work:

  • Updating the Environmental Variable PSModulePath - did not work. Still recieved the 1603 error after running the setup agian.
  • tried to find the registry entries. Could not find them.

What worked for me to get Appfrabic installed was installing from the setup file via powershell. Woo hoo! It worked for me! This is the link I retrieved the commands from: Installing AppFabric 1.1 with PowerShell DSC results in modal dialog error

        Start-Process -FilePath 'c:\temp\SharePoint\pre\appfabric\setup.exe' -ArgumentList '/i cacheclient","cachingService","CacheAdmin /gac /l c:\temp\appfabric.log' -Wait | Write-verbose
        Start-Process -FilePath 'c:\temp\SharePoint\pre\AppFabric1.1-RTM-KB2671763-x64-ENU.exe' -ArgumentList '/quiet' -Wait | Write-verbose

I hope this helps others with the same issue.

answered on Stack Overflow Nov 17, 2020 by Chilly

User contributions licensed under CC BY-SA 3.0