0

I'm trying to package Unison (not really my program) into an easy to use installer. Tl;dr: a screenshot.

  1. When I install and run it on the test machine, it says This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix the problem.
  2. The event log reveals that it can't find Dependent Assembly Microsoft.VC90.CRT.
  3. Search reveals that the "missing" dll is in fact in C:\Windows\WinSxS

So what's wrong?

Ansis Māliņš
  • 1,684
  • 15
  • 35
  • Did you check which version of the VC90.CRT is installed in the side-by-side cache? – harper Dec 03 '12 at 15:01
  • Your screenshot is hiding the important information, the *version number* of the installed copy of msvcr90.dll. WinSxS is all about making sure that the app gets the version it needs, an old version won't do. You are running this in a VM so some odds that you never got the CRT updates installed. – Hans Passant Dec 03 '12 at 15:04
  • http://msdn.microsoft.com/en-us/library/windows/desktop/aa374234(v=vs.85).aspx Documentation says only the first two parts of the version number must match. They do. – Ansis Māliņš Dec 07 '12 at 12:51

0 Answers0