Welcome to MSDN Blogs Sign in | Join | Help

How to locate the cause of error code 1603 in a verbose MSI log file

There is a trick I use very often when trying to figure out why an MSI-based setup is failing that I wanted to share with everyone.  I believe it is commonly known among setup developers and people who have to troubleshoot failed setups, but I could not find any "official" documentation for it.  This trick helps narrow down the root cause of error code 1603, which is a generic catch-all error code that means "fatal error during installation".  The 1603 error code is returned when any action fails during an installation, and most commonly it indicates that one of the custom actions in the MSI failed.

When I encounter a failed setup with return code 1603, here are the steps that I follow:

  1. Re-run the setup with verbose logging enabled using steps similar to those that I listed here (if there is not already a verbose log file available).  Those steps will generate a verbose log file named msi*.log in the %temp% directory the next time the setup package is executed.

    Important note - some MSI-based setups, including the .NET Framework 2.0, 3.0, 3.5 and higher and Visual Studio, will not create log files named %temp%\msi*.log even if using the instructions listed below.  Please see this blog post for more details about why that is the case and also for a list of some products that I know of that use different log file creation logic and the locations of the log files that they create.

  2. Open the verbose log in a text editor such as notepad and search for the string "return value 3".  In nearly all cases, this takes me to the section in the verbose log that lists the action that failed that initially caused setup to rollback.
  3. Review the contents of the log file immediately above the "return value 3" string to determine which custom action or standard action failed.
  4. Depending on which action is failing, I will proceed to more detailed debugging from here

I find that the biggest hurdle to debugging a failed setup is often zeroing in on which part of the setup is actually failing, and this trick of searching for "return value 3" ends up helping speed this process up in nearly all cases.  Of course, it does not work in 100% of scenarios.  Notably, if you are running setup on a non-English version of Windows, the string "return value 3" is written to the log file in the language of the operating system instead of in English, so string searches will not work.

Also note that there is an MSI verbose log parsing tool in the Windows Installer PSDK that is also very useful in locating errors inside verbose log files.  You can read more about this parsing tool (called wilogutl.exe) by clicking here.  This tool is more thorough in identifying errors, but most often I end up not using it because it is faster to open the log in notepad and do a string search than it is to load up the parsing tool, browse to the log file, wait for it to parse the whole log and then read the output it produces.

<update date="1/21/2009"> Added a caveat to these instructions indicating that some setups create their own verbose logs and enabling verbose logging using the Windows Installer logging registry keys will not work as expected for those setups. </update>

 

Published Monday, August 01, 2005 5:17 PM by astebner

Comments

Tuesday, August 09, 2005 9:27 PM by Aaron Stebner's WebLog

# How to workaround errors installing .NET Framework 2.0 that are caused by registry permission problems

I have had a few customers report problems installing the .NET Framework 2.0 with the following symptoms:...
Tuesday, August 09, 2005 9:27 PM by Aaron Stebner's WebLog

# How to workaround errors installing .NET Framework 2.0 that are caused by registry permission problems

I have had a few customers report problems installing the .NET Framework 2.0 with the following symptoms:...
Thursday, August 18, 2005 11:02 PM by Aaron Stebner's WebLog

# WiLogUtl.exe does not work with Windows Installer 3.1 log files

A little while back I described a method of searching for errors in a verbose MSI log file.&amp;nbsp; At...
Tuesday, August 23, 2005 12:07 PM by Aaron Stebner's WebLog

# WiLogUtl.exe does not work with Windows Installer 3.1 log files

A little while back I described a method of searching for errors in a verbose MSI log file.&amp;nbsp; At...
Wednesday, August 23, 2006 7:29 AM by Ubhatnagar

# re: How to locate the cause of error code 1603 in a verbose MSI log file

I get an error
[08/23/06,14:41:31] Windows Communication Foundation: ***ERRORLOG EVENT*** : Error: Installation failed for component Windows Communication Foundation. MSI returned error code 1603
[08/23/06,14:41:56] WapUI: ***ERRORLOG EVENT*** : DepCheck indicates Microsoft .NET Framework 3.0 - was not attempted to be installed.

i followed the steps as above to find the error in msi*.log file. I did not find any "return value 3", instead all where "return value 1". What should I do now?

Any help would be appreciated. I am running WinXP Sp2.

Thanks
Urvashi


Saturday, August 26, 2006 12:09 AM by astebner

# re: How to locate the cause of error code 1603 in a verbose MSI log file

Hi Ubhatnagar - Can you check and see if you have any error logs named dd_*msi*.txt in your %temp% directory?  The log file you are currently looking in is not a verbose MSI log, so you will not see "return value 3" in that log.  If you are unable to find the log with the error, please zip and send me any logs named %temp%\dd_*msi*.txt at Aaron.Stebner (at) Microsoft (dot) com and I will try to help you find the root cause.
Friday, September 08, 2006 1:26 AM by Aaron Stebner's WebLog

# Case study: How I approach debugging and fixing a setup failure

I received a mail from a customer this week regarding an installation failure that proved to be fairly...
Sunday, November 26, 2006 12:33 AM by Bahadır Çambel

# re: How to locate the cause of error code 1603 in a verbose MSI log file

Hi Aaron ,

I'm getting a WFC not found error during the installation of the .Net Framework 3.0 Redist. Pack.

I recently tried to install the WFC , but couldn't achieved.

Could you please advice ?

Thanks in advance

//------------------//

[11/26/06,07:27:10] Windows Workflow Foundation: [2] Error: Installation failed for component Windows Workflow Foundation. MSI returned error code 1603

[11/26/06,07:27:40] WapUI: [2] DepCheck indicates Windows Workflow Foundation is not installed.

[11/26/06,07:27:40] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0 was not attempted to be installed.

Sunday, November 26, 2006 2:33 PM by astebner

# re: How to locate the cause of error code 1603 in a verbose MSI log file

Hi Bahadir - There is a full list of log files produced by the .NET Framework 3.0 setup package at http://blogs.msdn.com/astebner/archive/2006/10/30/net-framework-3-0-setup-log-files.aspx.

In this case, the log file named %temp%\dd_WF_3.0_x86retMSI*.txt should contain the exact error information for this failure.  Can you please check and see if you have this log, and send it to me via email at Aaron.Stebner (at) Microsoft (dot) com so I can take a look and see if I can figure anything out?

Saturday, March 31, 2007 10:44 AM by nirajswaminarayan

# re: How to locate the cause of error code 1603 in a verbose MSI log file

To resolve this issue, reinstall all .Net 3.0 product by using .Net 3.0 Uninstaller tool.

Open machine.config file of .Net 2.0 Framework and change encoding format from UTF-8 to UTF-16.

Wednesday, April 04, 2007 11:14 PM by Aaron Stebner's WebLog

# Link to article describing how to interpret Windows Installer log files

I often get asked questions about how to read, interpret and find error information in verbose Windows

Friday, April 20, 2007 10:07 PM by Heath Stewart's Blog

# Custom Action Guidelines

Rob Mensching, father of Windows Installer XML (WiX), blogs about why managed custom actions are a bad

Tuesday, July 03, 2007 5:59 PM by Heath Stewart's Blog

# Custom Action Guidelines

Rob Mensching, father of Windows Installer XML (WiX), blogs about why managed custom actions are a bad

Thursday, August 02, 2007 8:10 AM by Adrian Roman

# Problems when installing .NET Framework 3.5 (Pre-Release Version)

Problems when installing .NET Framework 3.5 (Pre-Release Version)

Tuesday, September 25, 2007 8:17 AM by Dan's Archive

# Neat Tip To Enable Verbose Installer Logging

Neat Tip To Enable Verbose Installer Logging

Friday, October 19, 2007 4:33 PM by caranosian

# re: How to locate the cause of error code 1603 in a verbose MSI log file

I have been trying unsuccessfully to install .NET Framework 3.0 on a clean (newly imaged) Windows XP box with current SP and patches. The machine has Office 2003, Visual Studio.NET and some MSDNs installed. No matter what I have tried I keep getting the error code 1603 message in the log, and a search for info on this led me here.

I followed the verbose logging instructions you provided and recreated the error twice, so I now have 2 of these verbose logs, but neither of them has a "return value 3", so I am not getting anywhere with this.

Can I email them to you to see if there is something else I am missing?

Friday, October 19, 2007 6:35 PM by astebner

# re: How to locate the cause of error code 1603 in a verbose MSI log file

Hi Caranosian - The .NET Framework 3.0 creates its own set of logs, so the verbose logging instructions that I provided won't cause additional logs to be created in this case.  You can find a list of logs created by .NET Framework 3.0 setup at http://blogs.msdn.com/astebner/archive/2006/10/30/net-framework-3-0-setup-log-files.aspx.  If you have trouble finding the source of the error in those logs, please zip and send them to me and I'll try to take a look.  You can send them to Aaron.Stebner (at) microsoft (dot) com.

Saturday, December 01, 2007 8:13 AM by shagpub

# re: How to locate the cause of error code 1603 in a verbose MSI log file

Hi, I'm having this error when installing .Net Framework 3.0 on Windows XP

Error 25015.Failed to install assembly 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Management.dll' because of system error: The system cannot find the path specified.

It's kinda weird since I can see the file there in that folder. Thx you

Monday, December 03, 2007 12:11 AM by astebner

# re: How to locate the cause of error code 1603 in a verbose MSI log file

Hi Shagpub - I'd suggest trying the steps listed at http://blogs.msdn.com/astebner/archive/2005/10/11/479928.aspx to clean off and re-install the .NET Framework 2.0, and then hopefully the .NET Framework 3.0 will install correctly after that.

If those steps do not help, then one of the following might also be useful:

http://blogs.msdn.com/astebner/archive/2006/09/04/739820.aspx

http://blogs.msdn.com/astebner/archive/2006/11/25/disabling-services-with-msconfig-to-work-around-setup-failures.aspx

Monday, December 10, 2007 12:20 PM by Aaron Stebner's WebLog

# Possible workaround for errors during installation of Document Explorer 2005 and 2008

Every once in a while, I hear from a customer who has encountered an error while trying to install Document

Monday, December 10, 2007 1:22 PM by Noticias externas

# Possible workaround for errors during installation of Document Explorer 2005 and 2008

Every once in a while, I hear from a customer who has encountered an error while trying to install Document

# MSDN Blog Postings &raquo; Possible workaround for errors during installation of Document Explorer 2005 and 2008

Friday, March 28, 2008 3:52 PM by Aaron Stebner's WebLog

# Steps I use to diagnose .NET Framework 3.0 installation failures related to the ServiceModelReg.exe custom action

I often get questions from fellow employees or customers who find my blog regarding how to troubleshoot

Wednesday, June 04, 2008 2:55 PM by alvinashcraft

# re: How to locate the cause of error code 1603 in a verbose MSI log file

Hi Aaron,

Can you tell me what is return code 3? I am getting this return code at the end of the Popfly Explorer beta install when it's trying to register itself with VS2005. Thanks!

MSI (s) (54:F8) [14:42:39:205]: Executing op: CustomActionSchedule(Action=Launch_VS_80_DEVENV,ActionType=3122,Source=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\DevEnv.exe,Target=/setup,)

MSI (s) (54:F8) [14:43:59:273]: Note: 1: 1722 2: Launch_VS_80_DEVENV 3: C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\DevEnv.exe 4: /setup

Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action Launch_VS_80_DEVENV, location: C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\DevEnv.exe, command: /setup

MSI (s) (54:F8) [14:44:00:927]: Product: Microsoft Popfly Explorer Beta (1.0.30319.0) -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action Launch_VS_80_DEVENV, location: C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\DevEnv.exe, command: /setup

Action ended 14:44:00: InstallFinalize. Return value 3.

Wednesday, June 04, 2008 5:25 PM by astebner

# re: How to locate the cause of error code 1603 in a verbose MSI log file

Hi Alvinashcraft - Return code 3 is a generic error code that is generated when any Windows Installer action fails.  In this case, the devenv.exe /setup custom action is failing during PopFly setup on your system.  That action is designed to register new VS packages, project and item templates.

What I typically do to try to debug that type of failure is to run it manually outside of the setup with logging enabled and see if it fails there.  For example, you can run this:

"C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\DevEnv.exe" /setup /log %temp%\devenv_activity.log

Then you can look in %temp%\devenv_activity.log to see if there are any errors or warnings.

It is also possible that this will only fail during setup.  If that is the case, you'll need to try to run it manually with logging enabled during a setup session.  To do that, you'll need to use the MsiBreak environment variable described at http://blogs.msdn.com/astebner/archive/2005/06/17/430320.aspx.  You need to set the environment variable to Launch_VS_80_DEVENV since that is the action that is failing.  After setting the environment variable, you can run the setup, and when the pop-up dialog appears, you can try to run the same command line I listed earlier to run devenv.exe /setup /log %temp%\devenv_activity.log and look for errors and warnings.

Hopefully this helps.

Tuesday, June 17, 2008 11:53 AM by Aaron Stebner's WebLog

# Information about the err.exe tool I use to look up error codes when debugging setup issues

When I am attempting to investigate a setup-related failure, I typically end up looking at verbose log

Tuesday, September 09, 2008 12:43 PM by melamason

# .NET 3.0 install throws WCF errors still, after cleaning tool, reg edit etc

Hi Aaron,

I have had no luck installing .NET 3.0 on almost half of our domain's laptops - about 300.  These are my troubleshooting efforts while trying to reinstall:

I have edited the registry to give Everyone full perms to the HKLM/SYSTEM/CurrentControlSet/Services/EventLog/Security/ServiceModel 3.0.0.0 and not been successful.

I have used your cleaning tool successfully, installed incremental versions and SPs up to 2.0 SP1 and the install still fails.  

I've tried the "full" download dotnexfx3.exe and still failed.

Everything still throws the same error, WCF is not installed...  I turned on verbose logging and in the MSI*.log, there is no "return code 3".  There are several dd_wcf_ret MSI*.txt files that reference it.  Here is the part of the file that I believe to have info for you:

Error 1402.Could not open key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Security\ServiceModel 3.0.0.0.  System error 5.  Verify that you have sufficient access to that key, or contact your support personnel.

MSI (s) (A0:C4) [21:27:07:104]: User policy value 'DisableRollback' is 0

MSI (s) (A0:C4) [21:27:07:104]: Machine policy value 'DisableRollback' is 0

Action ended 21:27:07: InstallFinalize. Return value 3.

I'm getting nowhere.  Can you help?

Tuesday, September 09, 2008 7:03 PM by astebner

# re: How to locate the cause of error code 1603 in a verbose MSI log file

Hi Melamason - You sent me some log files via email, and in one of them, I see the 1402 access denied error listed in your comment - in that case, you need to make sure that the local system account and the Administrators group on the computer both have full control over the registry key in question in order to correct the access denied error.

In the other 3 of the log files, I see an error in the ServiceModelReg.exe custom action.  I usually recommend the steps listed at http://blogs.msdn.com/astebner/archive/2008/03/28/8342307.aspx.  For your logs, I've already done steps 1-3 in that blog post to narrow down the action that is causing the error, and you'll need to try steps 4 and 5 to see if you can find the cause of that error.

Hopefully this helps.

# Visual Studio 2008 SP1 Installation Errors and Error Code 1603 &laquo; Stuff I geek with

Thursday, December 11, 2008 6:33 AM by Ijaas Yunoos

# .Net Framework 3.0 error code 1603

Hi Arron,

I am having trouble installing .Net Framework 3.0, i had the same error with framework 3.5 so i did a complete uninstall of previous installations using your cleanup tool. I was able to reinstalled version 2.0 adn 2.0 sp1 but i get the error code 1603 when trying to install 3.0 here is the <a href="http://dporiginals.co.cc/dd_wcf_retMSI47BF.txt">Verbose log</a>. I would greatly apreciate if you could help me out here.

Thanks,

Ijaas

Thursday, December 11, 2008 2:25 PM by astebner

# re: How to locate the cause of error code 1603 in a verbose MSI log file

Hi Ijaas Yunoos - Your log file shows that the ServiceModelReg custom action is failing on your system, and that causes .NET 3.0 setup to fail.  I have posted some ideas about how to troubleshoot that type of failure at http://blogs.msdn.com/astebner/archive/2008/03/28/8342307.aspx.  I've already done steps 1-3 for you, so you can skip to step 4.

Alternatively, you can also try to install the .NET Framework 3.5 SP1 instead of the original 3.5.  The 3.5 SP1 installer will install 3.0 SP2 behind the scenes as a prerequisite, and 3.0 SP2 has some modified setup logic that will not cause the entire installation to fail if this ServiceModelReg custom action fails.

Hopefully one of these helps.

Thursday, December 11, 2008 9:46 PM by Ijaas Yunoos

# re: How to locate the cause of error code 1603 in a verbose MSI log file

Thanks Arron,

I used the easy method of installing 3.5 Sp1 and it worked.

Thanks.

Sunday, January 18, 2009 12:22 PM by Installing .NET 3.5 | keyongtech

# Installing .NET 3.5 | keyongtech

Wednesday, January 21, 2009 1:35 PM by tomas portnoy

# re: How to locate the cause of error code 1603 in a verbose MSI log file

I did everything I found on the net to resolve this problem but nothing worked!! I'm tired! I'm on it for 3 days now!

I have uninstall all traces of frameworks on my computer (Normal uninstall, then manually uninstall reg keys and folder and then clean up tool) Then I successfully install  Framework 1.0, 2.0 then 2.0 SP1 with all updates and now I can't install Framework 3.0 or 3.5!

I'm always getting errors and rolling back actions then!

P.S. I have windows XP Pro SP3 with all updates and IIS is not installed.

Her are the Errors for the Net Framework 3.0 Version:

EventType : visualstudio8setup     P1 : 10860    

P2 : 3.5.21022.08_orcas_x86_net     P3 : pr     P4 : inst     P5 : f    

P6 : gencomp734_{168d82f8-ac6b-4b55-804f-2ae51ac4b     P7 : baseret_failure

P8 : -     P9 : 1603     P10 : -

dd_dotnetfx3error.txt

[01/21/09,17:38:18] Microsoft .NET Framework 3.0a: [2] Error: Installation failed for component Microsoft .NET Framework 3.0a. MSI returned error code 1603

[01/21/09,17:39:54] Microsoft .NET Framework 3.0SP1 x86: [2] Error code 1603 for this component means "Erreur irrécupérable lors de l'installation." ( Traduction "Fatal Error during the installation")

[01/21/09,17:39:54] Microsoft .NET Framework 3.0SP1 x86: [2] Setup Failed on component Microsoft .NET Framework 3.0SP1 x86

[01/21/09,17:40:10] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0SP1 x86 is not installed.

Here is the Verbose log file:

http://www.filemail.com/fr/dl.aspx?id=FPHMQOOVEEHPJMJ

Here are the errors when I try to install the 3.5 SP1 Version:

EventType : visualstudio8setup     P1 : 35101    

P2 : 3.5.30729.01_orcas_x86_net     P3 : mc     P4 : inst     P5 : f    

P6 : writeregistryvalues     P7 : -     P8 : 1603     P9 : -    

P10 : gencomp780_{12cd    

dd_dotnetfx3.5SP1error.txt

[01/21/09,19:17:03] Microsoft .NET Framework 3.0 SP2 x86: [2] Error: Installation failed for component Microsoft .NET Framework 3.0 SP2 x86. MSI returned error code 1603

[01/21/09,19:19:28] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0 SP2 x86 is not installed.

[01/21/09,19:31:05] Microsoft .NET Framework 3.0 SP2 x86: [2] Error: Installation failed for component Microsoft .NET Framework 3.0 SP2 x86. MSI returned error code 1603

[01/21/09,19:32:04] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0 SP2 x86 is not installed.

I would appreciate any help. I'm desperate!

Thank you for all.

Wednesday, January 21, 2009 11:01 PM by astebner

# re: How to locate the cause of error code 1603 in a verbose MSI log file

Hi Tomas Portnoy - The .NET Framework installers configure their own verbose logging, so using the registry key to enable verbose logging and then searching for msi*.log doesn't work for these setups.  Can you please use the list of log files at http://blogs.msdn.com/astebner/archive/2008/04/30/8445569.aspx to find the .NET Framework setup log files from your system, and then zip and upload them to a file server so I can try to take a look?

Thursday, January 22, 2009 4:06 PM by tomas portnoy

# re: How to locate the cause of error code 1603 in a verbose MSI log file

Thank you for respondig so quiclky Aaron. I followed the link you gave me and did everything said in it.

I only did it for the NET Framework 3.5 (Because I almost have the same errors for the 3.0 and I tink the 3.5 installation fail when it's installing the 3.0 so...)

I found 3 files.

Here is the link.

http://www.filemail.com/fr/dl.aspx?id=ANODMMDNJSZXODE

If you find something to fix it, then you will be a god to me.

Thank you.

Friday, January 23, 2009 12:28 AM by astebner

# re: How to locate the cause of error code 1603 in a verbose MSI log file

Hi Tomas Portnoy - Thanks for posting these logs.  There is an additional log file that is needed to narrow down this failure further.  From the logs you posted, this is the name and location of the additional log that we need to look at next:

[01/22/09,20:46:43] Microsoft .NET Framework 3.0 SP2 x86: Enabling MSI log file: C:\DOCUME~1\PROLET~1\LOCALS~1\Temp\dd_NET_Framework30_Setup21A2.txt

Can you zip and post that log as well?

Friday, January 23, 2009 5:03 AM by tomas portnoy

# re: How to locate the cause of error code 1603 in a verbose MSI log file

Hi Aaron. I take a look at the dd_NET_Framework30_Setup21A2.txt file and searched for the "return value 3" string.

I found it and take another look at the string just above:

Microsoft .NET Framework 3.0 Service Pack 2 -- Erreur 1402. Impossible d’ouvrir la clé HKEY_LOCAL_MACHINE\Software\Classes\.xps\PersistentHandler. Erreur système 5. Vérifiez que vous disposez des droits d’accès nécessaires.

It was saying that the reg key was unable to be open, so i gave me the rights of "HKEY_LOCAL_MACHINE\Software\Classes\.xps\" from the regedit pannel, and the installation goes fine!!

It's annoying to see how often the keys are restricted even when you're the administrator!

Thank you for you help sir. I wounldn't be able to do nothing without your help...

Friday, January 23, 2009 12:18 PM by astebner

# re: How to locate the cause of error code 1603 in a verbose MSI log file

Hi Tomas Portnoy - I'm glad to hear that you were about to find the cause of and the fix for this issue.  I agree - it is really unfortunate that ACLs can be removed for the Administrators group like this and can cause installers to fail in very cryptic ways.

Sunday, February 15, 2009 9:09 PM by bmort

# re: How to locate the cause of error code 1603 in a verbose MSI log file

Hello Aaron,

I am having this same problem! Everytime I try run Visual Studio 2008, I get mass errors and then it loads but I can not create a project.. So I uninstalled and now when I reinstall I get the error!

I have done the verbose logging (I think) which I will email to you.. Any help would be appreciated!

Monday, February 16, 2009 12:36 AM by astebner

# re: How to locate the cause of error code 1603 in a verbose MSI log file

Hi BMort - I received an email from you, but the log you sent is not a verbose log file from VS 2008 setup though.  There is an important note listed in the instructions in this blog post, and it links to http://blogs.msdn.com/astebner/archive/2008/02/27/7927123.aspx.  That blog post explains that some installers enable their own verbose logging, and when that happens, the technique of enabling logging using the registry value and then looking for msi*.log does not work.  You can find the names and locations of the verbose log files created by VS 2008 setup at http://blogs.msdn.com/astebner/archive/2007/07/31/4156781.aspx.

Friday, March 06, 2009 7:50 PM by Aaron Stebner's WebLog

# .NET Framework 3.5 SP1 setup will fail if it is run by a user account that starts with a # character

I was working with our product support team on an interesting .NET Framework 3.5 SP1 installation failure

Thursday, March 12, 2009 6:49 PM by ZachSmith

# .Net 1.0 setup fails with Error 1603

Here are the results from the verbose MSI log:

MSI (s) (2C!44) [17:39:01:906]: Closing MSIHANDLE (39) of type 790531 for thread 2372

MSI (s) (2C:48) [17:39:02:000]: Closing MSIHANDLE (38) of type 790536 for thread 348

MSI (s) (2C:5C) [17:39:02:062]: Executing op: ActionStart(Name=SelfRegModules,Description=Registering modules,Template=File: [1], Folder: [2])

Action 17:39:02: SelfRegModules. Registering modules

MSI (s) (2C:5C) [17:39:02:172]: Executing op: ProgressTotal(Total=3,Type=1,ByteEquivalent=1300000)

MSI (s) (2C:5C) [17:39:02:218]: Executing op: SetTargetFolder(Folder=C:\WINDOWS\system32\)

MSI (s) (2C:5C) [17:39:02:265]: Executing op: RegSelfReg(File=mscoree.dll,FileID=FL_mscoree_dll_____X86.3643236F_FC70_11D3_A536_0090278A1BB8)

SelfRegModules: File: mscoree.dll, Folder: C:\WINDOWS\system32\

MSI (s) (2C:5C) [17:39:03:078]: Executing op: SetTargetFolder(Folder=C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\)

MSI (s) (2C:5C) [17:39:03:140]: Executing op: RegSelfReg(File=mscordbi.dll,FileID=FL_mscordbi_dll_____X86.3643236F_FC70_11D3_A536_0090278A1BB8)

SelfRegModules: File: mscordbi.dll, Folder: C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\

MSI (s) (2C:5C) [17:39:03:359]: Executing op: RegSelfReg(File=mscorsec.dll,FileID=FL_mscorsec_dll_____X86.3643236F_FC70_11D3_A536_0090278A1BB8)

SelfRegModules: File: mscorsec.dll, Folder: C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\

MSI (s) (2C:5C) [17:39:03:546]: Executing op: ActionStart(Name=CA_ComRegSystemData.3643236F_FC70_11D3_A536_0090278A1BB8,,)

Action 17:39:03: CA_ComRegSystemData.3643236F_FC70_11D3_A536_0090278A1BB8.

MSI (s) (2C:5C) [17:39:03:671]: Executing op: CustomActionSchedule(Action=CA_ComRegSystemData.3643236F_FC70_11D3_A536_0090278A1BB8,ActionType=3073,Source=BinaryData,Target=_QuietExec@4,CustomActionData=C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\RegAsm.exe C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.Data.dll;System.Data.dll;C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\)

MSI (s) (2C:5C) [17:39:03:750]: Creating MSIHANDLE (40) of type 790536 for thread 348

MSI (s) (2C:28) [17:39:03:812]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI7D.tmp, Entrypoint: _QuietExec@4

MSI (s) (2C!70) [17:39:03:843]: Creating MSIHANDLE (41) of type 790531 for thread 2416

1: C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\RegAsm.exe C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.Data.dll

MSI (s) (2C!70) [17:39:05:765]: Creating MSIHANDLE (42) of type 790531 for thread 2416

1: ERROR: Process returned non-0 value! CMDLINE: C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\RegAsm.exe C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.Data.dll

MSI (s) (2C!70) [17:39:05:999]: Closing MSIHANDLE (42) of type 790531 for thread 2416

1: Failed

MSI (s) (2C!70) [17:39:06:078]: Closing MSIHANDLE (41) of type 790531 for thread 2416

MSI (s) (2C:28) [17:39:06:109]: Closing MSIHANDLE (40) of type 790536 for thread 348

Any ideas on what the issue might be?

Tuesday, March 17, 2009 6:26 PM by astebner

# re: How to locate the cause of error code 1603 in a verbose MSI log file

Hi ZachSmith - This is the action that is causing .NET Framework 1.0 to fail:

C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\RegAsm.exe C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.Data.dll

RegAsm is essentially trying to write some registry keys for System.Data.dll.  I'm not sure why that action would fail though.  What OS are you seeing this happen on?

If you haven't yet, I'd suggest trying to use the steps listed at http://blogs.msdn.com/astebner/archive/2008/03/07/8108332.aspx to remove all versions of the .NET Framework, then install the .NET Framework 3.5 SP1 from the link at http://www.microsoft.com/downloads/details.aspx?familyid=AB99342F-5D1A-413D-8319-81DA479AB0D7.

After installing 3.5 SP1, I'd suggest trying again to install the .NET Framework 1.0 and see if it works better after that.

Thursday, May 07, 2009 11:42 PM by Aaron Stebner's WebLog

# Possible workaround for RGB9RAST install failure when deploying the .NET Framework 3.0 or 3.5

I have heard from a few folks recently (such as this blog comment and this forum post ) who have run

Anonymous comments are disabled
 
Page view tracker