VISTA: Side-by-side configuration error after application update
-
I am having a problem: After update of application (native C++) from one version to newer on Vista PC something is happening with Microsoft.VC80.CRT assembly version 8.0.50727.762 so that after the update, if application is launched, loader cannot found Microsoft.VC80.CRT assembly although it is in shared assemblies Windows folder(WinSxs). I get Side-by-side configuration error message , and application is stalled. SxsTrace shows that instead of CRT policy version 8.0.50727.762, policy version 8.0.50727.312 is found, processed and no binding policy redirect is found (that is logical, cause this is older policy). Then assembly searching sequence is done (WinSxs folder,...) However, assembly Microsoft.VC80.CRT version 8.0.50727.762 was not found. In the end there is Error : Cannot resolve reference. Application has a manifest embedded, stating that it uses Microsoft.VC80.CRT version 8.0.50727.762 as well as Microsoft.VC80.MFC version 8.0.50727.762 . If after this Side-by-side configuration error, I perform repair of installation from Control Panel, and then start the application, application works fine again. If application is uninstalled and then installed from the start everything works ok. Application update seams to goes smoothly, without any apparent errors (except that it reports Side-by-side error in Application event log).But when application is launched there is message:Side-by-side configuration error. All the installations I was performing on Vista Final machine as user with administrator rights. Application is build in Visual Studio 2005, as install package InstallShield is used (+redistribution with Merge Modules) . Does anybody have any ideas what could be cause of this problem and how it can be solved?