I'd find it really useful to decide what custom actions I call at certain points in my installation depending on properties I've set in the installer.
For example; if I want to use separate DLLs for interfacing with different versions of SQL (SSRS 2005/2008R2 to be specific).
Assume the actions that discern which CA I should run (by finding out what SSRS version the installer is being pointed at) are executed with "immediate" and the CA's that may or may not be executed depend on this result and are "deferred"
How could I change which deferred CA I execute at certain parts of the install, dynamically, during the install?.. Is this even possible?
((WiX 2.0 preferred but higher version answers are acceptable))