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?
A:
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.
Bryan Batchelder
2010-02-23 17:00:44
Thanks! I wanted to avoid using a property to access a localized string since i have a lot of loc strings and this will pollute the code, but seems like there is no other alternative. Thanks again.
skinssay
2010-02-23 19:39:38