HRESULT = '80004005' in a Visual Studio 2008 installation project

When I try to create my installation project, I get the following error: "An error occurred while validating. HRESULT =" 80004005 "" (And Microsoft receives a reward for clarity.)

I google to find that a small army of developers had the same problem. In fact, the error should look like this: "Could not find the link in one of your projects." Everyone says (even on StackOverflow) how to find a project with a broken link:

  • Delete all exits from the configuration project.
  • Each individual output of the project is displayed separately until an error appears.

I do this, find error 80004005 for my main executable project and the main class library project. Since the main executable project refers to the main class library project, I assume that the problem is with the main class library project.

As soon as you find the project, people are told to delete all the links and re-add them (this fixes any launch problems that seem to be the main cause of this error). In fact, I did it for all the projects in the solution, just for a good measure. I am still getting error 80004005.

I have Googled for about five hours, I have not found any other suggested solutions. I almost redid all 7 projects in this solution, and it will take me several hours, and this does not guarantee the result.

, .

+5
4

, , , . , .

Connect:

. HRESULT = '80004005'

+3

(Error: HRESULT = '80004005'), .

: "x" . "x" , .

. , . . - , .

.

: . , "" , .

, .

+1

Had the same (unsolvable) problem, and the Yerg trick (just adding files instead of project output) saved my *. At least the installation project is being built, and the installer is working on my local system. We still have to test the customer system.

Thanks a lot Yerg.

0
source

This answer fixed this problem for me

I also slowly migrate all my installation projects to WIX. This seems like the best solution.

0
source

All Articles