views:

102

answers:

0

I am distributing an application that includes Microsoft XML Parser version 4. I have included the latest Windows XML Parser .msm files that I could find at Microsoft.

On some systems my software starts, but shows the 'installer dialogs' as if a setup is running. The Microsoft event log reports:

Detection of product '{6C0651D8-DF72-4972-8447-FD678ABD124B}', feature 'Complete', component '{5617BF49-9195-4C35-B9AD-F8D165DE25BB}' failed. The resource 'C:\WINDOWS\WinSxS\x86_Microsoft.MSXML2R_6bd6b9abf345378f_4.0.2.0_x-ww_e6d36d6b\msxml4r.dll' does not exist.

After some time, my application continues.

The 4.0.2 folder in WinSxS indeed doesn't exist, but a 4.1 folder does. Apparently the newer version of the msxml2r.dll was loaded so my app continues.

Now, my question is: how can I prevent the installer dialogs and have it accept the newer dll by default?

Note 1: on some systems installing http://support.microsoft.com/kb/927978 solved the issue, but not on all. Note 2: repairing my installation didnt work.

Your help is much appreciated!