.wxl files are not run through the preprocessor (you probably could if you did it your self) so that value is never replaced.
Gordon Dass Adams wrote: > In my example MergeModule project attached, I name my shortcut folder with a > localization string which doesn't completely resolve: > > <Shortcut Id="English.Help.Shortcut" > Name="!(loc.RhinoHelpShortcutTitle)" > Directory="ShortcutFolder"> > </Shortcut> > > That localization variable is defined in a .wxl file: > <?xml version="1.0" encoding="utf-8"?> > <WixLocalization Culture="en-us" > xmlns="http://schemas.microsoft.com/wix/2006/localization"> > <String Id="RhinoHelpShortcutTitle">$(var.RmaProductName) Help</String> > </WixLocalization> > > The variable RmaProductName is defined in a .wxi Include file: > > <?xml version="1.0" encoding="utf-8"?> > <Include> > <?define RmaProductName="EnglishHelpTest"?> > </Include> > > When the MergeModule is compiled, the shortcut has name > "$(var.RmaProductName) Help" > rather than > "EnglishHelpTest Help" > > Is this a known fault with WiX version 3.0.5217.0 > or have I made a mistake in expecting this substitution to happen? > > > ------------------------------------------------------------------------------------------------------------------ > Gordon Dass Adams --- McNeel Technical Support, Seattle > Email: gor...@mcneel.com www.rhino3d.com www.accurender.com > ------------------------------------------------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users