Zhong Xinyi wrote:
> I understand that we can access localization variables
> strings using $(loc.var) in our wix source files.
> However, is there anyway that I can access these
> strings in my custom action dll? Using MsiGetProperty?
> If not, any other solutions?
>   
Loc variables are resolved at bind time, so they're replaced in the 
final .msi. They don't exist at install time. You can use the same 
localization approach to put messages into MSI tables; see 
WcaErrorMessage in wcawrap.cpp for an example.

-- 
sig://boB
http://bobs.org



_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to