
stoliarova.elena1.5524920316200317E12 asked a question.
VC 8.0 CRT merge module installation on Vista
Hi guys
I have next problem
I made installation for application which depends on Visual C++ 8.0 CRT. So I included Microsoft_VC80_CRT_x86.msm and policy_8_0_Microsoft_VC80_CRT_x86.msm merge modules into my installation.
The installation works OK on Windows XP, but fails on Vista (32bit).
Event log shows SidebySide error :
Activation context generation failed for "myapp". Dependent Assembly Microsoft.VC80.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762" could not be found. Please use sxstrace.exe for detailed diagnosis.
But Microsoft.VC80.CRT version="8.0.50727.762" is included in merge modules which I added to my installation.
Can anyone give me a clue why these merge modules don’t work on Vista while work on XP?
How can I solve this issue?
I have seen the same issue and was able to solve it following the advise on: http://blogs.msdn.com/astebner/archive/2007/01/09/problems-with-custom-actions-that-depend-on-the-visual-c-8-0-runtime-files-on-windows-vista.aspx
Enjoy!
Dan
"In the case of service installation, use a commit custom action or a custom action scheduled after InstallFinalize. You cannot use the ServiceInstall or ServiceControl table if the service depends on any global assemblies (such as the VC 8.0 runtime files or a managed .NET Framework assembly). This scenario is specifically described in the ServiceControl table documentation on MSDN."
And during install I get a warning about the service custom action and that it should be sequenced between InstallInitialize and InstallFinalize.
So can I safely ignore this warning or do I have to place the custom action before InstallFinalize and if I do will it still work correctly?