I've been getting quite a few reports that my 5.0 and 5.1 installers don't work on Vista. The reports all say that near the end of the install, it errors out with an error code of 2869.
As a side note, I have yet to have an MSI error code that had a description that I understood. The description is almost always something like 'The transaction failed to start'. These descriptions don't tell me anything. But I digress.
This 2869 issue was hard to reproduce and very random. After some work I found a 32 bit Vista machine that showed the problem. With some trial and error and installutil style debugging I discovered that the problem was in my custom installer class. Inside the MySql.Data assembly, we have a custom installer class that does two things. First it adds the assembly to the system's machine.config file and then it adds a couple of performance counters. …
[Read more]