I created an install for a web project but couldn’t get the MSI to run on a Windows 2008 server. The error I would get was
The installer was interrupted before Application could be installed
The root of the problem was not having the IIS 6 Management Compatibility role service installed.
To quote the thread in which I found the information:
I fixed this by going into Server Manager and adding the Role Services for “IIS 6 Management Compatibility”.
The bit I’d like to add to possibly make this post more useful is the exact error text I got from the Installation Log File:
INFO : [08/19/2010 15:35:54:933] [SetTARGETSITE ]: CoInitializeEx - COM initialization Apartment Threaded...
ERROR : [08/19/2010 15:35:54:944] [SetTARGETSITE ]: FAILED: -2147221164
ERROR : [08/19/2010 15:35:54:944] [SetTARGETSITE ]: Custom Action failed with code: '340'
Maybe some poor sole will search on some of that text and get a match and find the solution I found.