I have created a merge module which, amongst other things, registers an ocx control and installs and starts a service. The items installed via the merge module are created with Visual Studio 2005 and have dependencies on msvcr80.dll and mfc80.dll. I have added the Microsoft merge modules for these files as dependencies for my merge module. My main install project includes these merge modules and when run in XP everything works. My problem is when running the install in Vista. The ocx fails to register and the service fails to start. On investigation a side by side error appears in the event log. It appears that the registration and the service starting are taking place before the files appear in the WinSxS directory! If I change the merge module to not register the ocx and to install but not start the service, then I am able to perform these tasks manually at the conclusion of the install. Is there some way of ensuring that the actions performed by the Microsoft merge modules complete before those in my module start? I appreciate that I could use the Microsoft re-distributable package in a bootstrapped install rather than the merge module approach but I would prefer not to go down this path.
Regards,
Phil
FOLLOW US
Get the latest news in Application Packaging