Hi Liviu.
Indeed, your code works.
I create two separate classes for code organization.
Also, I think that the article "How to create a .NET Custom Action" should have a mention to these scenarios, because I base my development on it and I didn't find any information about this scenario.
Thanks for ...
FOLLOW US
Get the latest news in Application Packaging