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

19

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 =====


Tello answered 26/6, 2012 at 11:2 Comment(4)
There's a handy guide to troubleshooting this error code hereDelanty
As you are not the developer of this installer, this isn't the right forum to ask this question. You should ask on SuperUser or ServerFault. Eitherway this log is useless as it only reports the result of msiexec. The real details will be found in C:\Users\COMPUTER-Name\AppData\Local\Temp\AppServerSetup1_1(2012-06-26 18-20-46).log.Luhe
I have the same problem, after installing AppFabric 1.0, then uninstalling it, finally installing AppFabric 1.1 and uninstalling it. Now, I cannot re-install it. Any help?Adon
Despair all ye who enter here, the house of the crazy installer; rejoice for the future however, as AppFabric has been retired, with Mainstream Support provided until 4/11/2017 and Extended Support until 4/12/2022. redis is your primary alternative.Avid
N
128

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

Navel answered 20/3, 2013 at 5:35 Comment(2)
On Windows 10, you may not be able to see and change the bad entry in the variable unless you click on Edit text...Gardenia
I confirm that it still works in 2023 ! Life saverCommonplace
B
23

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.

Broadcasting answered 11/1, 2013 at 16:12 Comment(3)
Thanks! This worked for me as well. Saved me lots of time and potential headaches.Foldboat
Finally!! that worked for me. for me, it worked when I tried to run the Setup.exe under (tempFolder)\packages. 10+hours and many failed attempts saved :)Tildatilde
You little ripper! Worked for me. Top-voted answer did not.Gutbucket
N
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.

Nunuance answered 16/1, 2013 at 10:28 Comment(0)
I
8

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.

Ir answered 9/7, 2014 at 19:4 Comment(0)
A
7

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.

Afghan answered 6/8, 2014 at 18:22 Comment(0)
A
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.

Argumentation answered 30/8, 2012 at 14:7 Comment(2)
I've pulled out all the files out of the msi, but where is the install script?Side
The issue for me was that the task already existed from a previous failed install. Removing the existing task worked for me. Thanks for pointing me in the right direction.Malinda
Q
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.

Quito answered 16/10, 2015 at 5:38 Comment(0)
T
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.

Tain answered 13/4, 2017 at 13:2 Comment(2)
Great! Thanks! 6+ hoursFontana
Helped to me! But then i make next critical mistake... I installed it witout SharePoint. And then deleted AppFabric before updateInterferometer
W
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

Wallah answered 23/4, 2014 at 15:8 Comment(0)
S
1

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

Spiritualize answered 21/8, 2014 at 18:37 Comment(1)
This is particularly critical, I've found, as one of the components required by App Fabric is the "IIS Management Console". And there's really no installing that without 'Web-Server'!Scarify
R
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

Rodmur answered 17/11, 2013 at 14:33 Comment(1)
No where in the log file does it mention a problem with the "Consolidator" file.Almeria
C
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.

Colbycolbye answered 8/1, 2014 at 13:53 Comment(0)
W
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")

Woolpack answered 19/8, 2014 at 11:23 Comment(0)
P
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.

Pismire answered 31/8, 2015 at 7:45 Comment(0)
G
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

Gertrudis answered 14/4, 2017 at 19:56 Comment(0)
F
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

Francklin answered 20/3, 2018 at 14:30 Comment(1)
SO might not like answers like these (and it's justified) but it does cut through the noise.Beaufert
O
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.

Orlop answered 15/5, 2020 at 17:57 Comment(0)
P
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.

Perversion answered 17/11, 2020 at 22:34 Comment(0)
A
0

This happen if you run setup first time and install some components then you change your mind and want to install more components, it will give you this error, or at least this is what happened with me.

I had the same issue, to solve it just start setup again and remove all components (Uncheck everything, uninstall everything)

enter image description here

Once uninstalling, then start setup again and select what you want to install (for example check all components) then it will work.

Abell answered 31/3, 2023 at 8:48 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.