DLL based Action for Action Packages

 

It would realy be nifty to be able to write actions as DLL's. Like the Microsoft Windows Installer "Custom Action Type 1".

Or just if you do not want to flat API, you could just provide the context COM interface as parameter to the (DLL) function call.

 

 

 Any thoughts about this?

For ease you could just say that the interface should be COM, and use the DllGetClassObject to load the plugins that are in the plugin directory. Then you would not need to register the COM object for the plugin, and no COM plugin registry would be needed. Just check the DLL's in the plugin directory, to see if they export DllGetClassObject, and then use that to instantiate the plugin.
http://blogs.msdn.com/mikhailarkhip...04433.aspx
http://lallousx86.wordpress.com/200...einstance/