Lets imagine I've written a custom actions managed class library that I am planning to use in WiX setup project. The class library contains few classes which have "Install" methods. I am planning to launch those methods from my setup package as a custom action, so I mark all of them with the CustomActionAttribute. What will happen then? Will only one method be launched, or all of them, or the compilation of the setup project will fail? Is this considered a good practice at all?
I've simulated the problem and got following errors while trying to compile the custom actions class library: An item with the same key has already been added. So that means it is impossible to use methods with same names in the class library, or at least we shouldn't do that.