Read a localization string from a CustomAction in wix

localization, wix

Solution

Set a Property to the localized string, and then access that Property from your Custom Action. If your CA is deferred, then you will need to load the localized string into it's CustomActionData dictionary.

Problem

I have a localizated wix project, and some custom actions in c#. Those custom actions sets some properties with customer facing text, so i want to assing a localizated text to those properties. Does any one know if i can read a localization string from a c# custom action?

Original source