Installation problem in windows vista

I am facing problem during installation in vista beta2 OS. Windows installer is throwing error during registration of few dlls. These dlls are marked as "self registered" and are build in VS 2005. Also I have included the dependent vc8 merge modules along with the package.

I tried to install in a clean XP SP2 OS. It installed with out any problem. Then I tried to install it in vista beta2(5342 and 5384 builds). It throws error while doing the self registration. After the first error message pops up, I checked the WinSxs folder for the dependent mfc dll. That time it was not installed. I ignored all message and finally able to see the mfc dlls in the WinSxs folder. Assuming next time it will install correctly as already dependent mfc files are installed, I tried again and it throws the same error. In the dependancy walker, I found 4 missing dll (atl80.dll, mfc80u.dll, msvcp80.dll,msvcr80.dll)

Also I tried to register manually using regsvr32.
Error Message:
[INDENT]The module "*.dll" failed to load. Make sure the binary is stored at the specified path or debug it to check for problems with the binary or dependent .DLL files. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more details.[/INDENT]

Event Log:
[INDENT]Activation context generation failed for "C:\Windows\System32\*.dll". Dependent Assembly Microsoft.VC80.MFC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0" could not be found. Please use sxstrace.exe for detailed diagnosis.[/INDENT]

I tried with sxstrace to trace the error. But could not resolve it.
Also I tried the same with IS12 too though it supports vista. Again the same result.

Now I am concern abt two things:
1) Is there any problem with the VC8 msm for vista? Why it is not installing before the file installation?
2) How to resolve the side-by-side issue?

I am almost blocked for this issue. Experts... please help me.

[2150 byte] By [ajit_patra] at [2007-12-21]
# 1

Hi folks,

I am also facing the same problem. In vista the dlls are not able to register, but all the required MFC runtime dlls are in WinSxs folder.

Any help provided will be appreciated..

Gane at 2007-9-10 > top of Msdn Tech,Software Development for Windows Vista,General Windows Vista Development Issues...
# 2

Hi folks,

I am also facing the same problem. I am not able to register the dlls which are compiled in VC2005 in VISTA. All the required runtime dlls are in WinSxs folder.

How to solve the above issue. Any help provided will be appreciated.

Thanks

Gane

Gane at 2007-9-10 > top of Msdn Tech,Software Development for Windows Vista,General Windows Vista Development Issues...

Software Development for Windows Vista

Site Classified