Geeks With Blogs
David Blomqvist

I was trying to install a web app that another team member built. this failed with the message:
The installer was interrupted before <MyApp> could be installed. You need to restart the installer to try again.”

 

image

Trying again is (obviously) meaningless, it will just fail over and over. And the error message is very general, something failed.
In the eventlog we can find this error:
Installation success or error status: 1603

If we run the installer again but with verbose logging:
msiexec /i MyInstaller.msi /v setup.log

The we can find the same error but with some more stuff

INFO   : [11/11/2010 17:19:32:674] [SetTARGETSITE]: Custom Action is starting...
INFO   : [11/11/2010 17:19:32:674] [SetTARGETSITE]: CoInitializeEx - COM initialization Apartment Threaded...
ERROR  : [11/11/2010 17:19:32:677] [SetTARGETSITE]: FAILED:    -2147221164
ERROR  : [11/11/2010 17:19:32:677] [SetTARGETSITE]: Custom Action failed with code: '340'
INFO   : [11/11/2010 17:19:32:678] [SetTARGETSITE]: Custom Action completed with return code: '340'
CustomAction WEBCA_SetTARGETSITE returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 17:19:32: WEBCA_SetTARGETSITE. Return value 3.
MSI (c) (EC:6C) [17:19:32:680]: Doing action: FatalErrorForm

So what is this?

It turns out that the installer cannot speak the the IIS7 properly. It needs some IIS6 compatibility in order to do that.
Go to: Control Panel > Programs > Turn Windows features on or off
and then activate “IIS Metabase and IIS 6 configuration compatibility

MetabaseII6

And now the installer worked.

My setup:
Windows 7, IIS 7, standard VS 2010 web setup project configured for .net 4, .net 4 installed and registered in the IIS.

 

Edited:

If you are on a Server 2008 you will find the setting here:

Server Manager > Roles
image

Posted on Friday, November 12, 2010 10:44 AM | Back to top


Comments on this post: The installer was interrupted before Application could be installed - Installation success or error status: 1603

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
i am getting the same error in XP SP3? What should i do?
Left by vijaya babu on May 02, 2011 11:40 PM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
I was trying to complete one exercise when I got the same error. This post could help me to resolve it.
Thank you.
Left by Serg on Jun 06, 2011 12:37 PM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Thank you!! This saved me some time...
Left by Sachin on Jun 24, 2011 3:16 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
I had already installed that IIS6 metabase.but it is showing me the same error.please rply me to the give email id above.

Thanks
Left by Naseeruddin on Jun 27, 2011 10:47 PM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Tthanks!!! You saved my day :-)
Left by Luigi Ferraro on Jun 29, 2011 11:24 PM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Great post! Thanks David!
Left by Joie on Jun 30, 2011 5:45 PM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Brilliant! This is exactly the problem I ran into. Thank you!
Left by Dmitriy on Jul 25, 2011 8:35 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
You missed something.
It needs to be:
msiexec /i MyInstaller.msi /lv setup.log

Left by Ronny on Jul 27, 2011 6:56 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Thank you!!! That worked with the installation problem I was having.
Left by Natalie on Sep 25, 2011 7:55 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
i am facing the same problem but my system details are -
Windows XP Professional SP3, IIS 5.1, Visual Studio 2008, sqlserver 2005.

IIS 5.1 will not show option IIS Metabase & configuration compatibily.

so how i will upgrate the IIS verison frm 5.1 to 6.0 or is there is any other way to solve this issue with above mention system requirements.
Left by Reshma on Dec 08, 2011 5:42 PM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Thanks. The Post "Go to: Control Panel > Programs > Turn Windows features on or off
and then activate “IIS Metabase and IIS 6 configuration compatibility” fixed the problem for me.
Left by Glenn on Jan 15, 2012 1:47 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Excellent Post Man !! You are a legend .. :-))
Left by Abdul on Feb 27, 2012 4:47 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Thanks, this prevented much hair pulling :-)
Left by Wikus on Mar 01, 2012 8:11 PM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
This info helps a lot..

Thanks.

:)
Left by Charlz on Mar 04, 2012 3:39 PM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Thanks !!!
Left by asferosu on Mar 05, 2012 6:59 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
thanks it helped me a lot... :)
Left by nitya on Mar 15, 2012 7:27 PM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Thank You
Left by Shan on Apr 01, 2012 8:49 PM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
I just got past a long standing install snag thanks to this post. Much obliged.
Left by Ed on Apr 20, 2012 5:52 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Yes, this did the trick. Thank You!
Left by Bill on May 02, 2012 4:55 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
I am facing same issue with the windows application setup

Could you help
Left by Amol Kagde on May 15, 2012 5:07 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Thank you so much, it resolved my similar issue.
Left by Biju on May 15, 2012 7:23 PM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Okay, now I feel really stupid--on my new(ish) Windows 7 x64 development box, I didn't even have IIS installed at all! Thank you for posting this.
Left by Alex on May 17, 2012 7:07 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Thanks That worked!
Left by Meena on May 17, 2012 10:32 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Thank you so much, it resolved my similar issue.
Left by Amit Mishra on May 24, 2012 9:01 PM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Mille thannnnnnnkssssssssssssssssssssssssssssss
Left by Middle on Jun 03, 2012 6:37 PM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Thank You!
Left by Andrius on Jul 04, 2012 12:28 PM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
THANK YOU VERY MUCH!
Left by A on Jul 05, 2012 3:06 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
The Man!
Left by Ray on Jul 31, 2012 4:15 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
That is grt. It works for me. thanks
Left by Sabuj Saha on Aug 01, 2012 9:31 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
AMAZING! thanks for the enlightment!
now my issue resolved.
thanks.
Left by snydez on Aug 08, 2012 4:49 PM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Thanks, this was very helpful, saved me a lot of time.
Left by Haim on Aug 15, 2012 10:35 PM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
plse suggest solultion for xp srvice pack 2.i am facing same problem on xp
Left by sachin gobade on Oct 13, 2012 10:54 PM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Great post... straight to the point. thanks you... a lot time saved.
Left by Daniel Magues on Oct 17, 2012 3:33 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
I had the same issue on XP SP3 with IIS 5.1. Running aspnet_regiis -i from %windir%\microsoft.net\framework\v2.0.50727 fixed it for me.
Left by Alex Humphrey on Oct 18, 2012 9:38 PM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Great, Really Nice
Left by Ramesh Patel on Oct 28, 2012 9:49 PM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
It works for me. Thanks
Left by Lily Yeh on Nov 14, 2012 9:17 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Thanks.
Google first hit and the solutioN!
Left by Sander van den Brom on Nov 26, 2012 3:04 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Thanks, has solved the problem one more time.
Left by Carsten on Dec 03, 2012 12:50 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Thanks! It did the trick on Win7
Left by Meolafon on Dec 03, 2012 8:36 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Great Job
Left by zahid hussain on Jan 03, 2013 8:33 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Perfect, it works. Thanks
Left by David on Jan 14, 2013 2:18 AM

# It worked ! Thanks
Requesting Gravatar...
It solved my problem. Thanks.
Left by Altaf Patel on Feb 13, 2013 7:42 PM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
activate “IIS Metabase and IIS 6 configuration compatibility”
This solves my problem. Thanks a lot. Changsong
Left by Changsong Bu on Mar 29, 2013 5:12 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Thanks! You saved me a bunch of time.
Left by Randall Sexton on Apr 26, 2013 12:24 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Thanks for the port, saved me loads of troubleshooting time
Left by Garen Hagopian on May 17, 2013 2:49 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Ose o (Thank you)
Left by Gbenge on Jun 19, 2013 3:21 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Hi All,

I have one websetup.msi created using vdproj.

I have migrated same msi to wix using dark, candle and light utilities.

Now, I am getting the same error, The installer was interrupted before Application could be installed - Installation success or error status: 1603 and one of the custom action was failing.

How to resolve these issues?

vdproj websetup.msi was successfully working/installing.

Thanks for your help in advance.

Jagadeesh.
Left by Jagadeesh on Jun 26, 2013 9:20 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
I was getting similar to this error trying to install Malwarebytes managed client and your solutions saved me a lot of frustration and research time finding answer.
Thanks again.
Left by Howard on Jun 27, 2013 5:15 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Thank you.

It fixed the problem for which i was looking for the last 1 month.

Thanks again!
Left by caprisha on Jul 09, 2013 10:19 PM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
i have installed IIS, but still i am facing the same error.

Please help me out.

Thanks
Suchi
Left by Suchi on Jul 10, 2013 2:20 PM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Thank you. Fixed it !!!
Left by Ashwin on Aug 22, 2013 6:36 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
thank u so much friend, It really help for me....
Left by suresh kumar on Sep 05, 2013 9:35 PM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
This works! Thanks for the server 2008 update.
Left by Nigel B on Oct 21, 2013 8:51 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Thanks - this worked for me, I really appreciate it. Just curious why it worked, and why on my colleague's computer, he also has Windows 7 64-bit, the IIS6 Compatibility is not enabled, and he never reported any simialar issues...in any event, a big THANKS!
Left by Sam Kamin on Oct 30, 2013 9:49 PM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Thanks you.
I faced the same issue windows server 2012.
It worked
Left by Ajith on Nov 12, 2013 4:34 PM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Thanks for this, helped me out of a massive headache
Left by Tom Burrows on Dec 09, 2013 2:43 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
This post was GREAT !!! Helped me out and saved me so much time - THANK YOU VERY MUCH !!!
Left by Michael on Jan 13, 2014 6:33 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Blimey, it works! Thanks a lot for the post! Saved a night ;)
Left by Army on Mar 05, 2014 10:22 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Thank you!
Left by jaky on Mar 17, 2014 1:21 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
My setup: Windows 7 Enterprise, IIS 7.5, VS 2010, .NET 4.0.
Original VS2008 VB add-in project compiles in VS2010.
I set the IIS 6 Management Compatability setting.
Executing the MSI still shows the "installer interrupted" error.
Any ideas?
Left by Dave on Apr 04, 2014 3:31 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Really useful! Thanks very much for the detailed writeup
Left by Dave on Apr 10, 2014 10:22 PM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
ahhhh, Thank you so much, a gr8 article. saved time.
Left by Sidharth M on Apr 18, 2014 9:32 PM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Thanks so much for this !!! works great!!
Left by Kenny on Jun 20, 2014 6:40 AM

# re: The installer was interrupted before Application could be installed - Installation success or error status: 1603
Requesting Gravatar...
Fantastic, worked a treat. I'd never have figured it out myself. Thanks.
Left by Sue on Jun 25, 2014 8:36 AM

Your comment:
 (will show your gravatar)


Copyright © blomqvist | Powered by: GeeksWithBlogs.net | Join free