Hey Kai-Uwe, I imagine that the varible definations are not correctly declared in your wixproj file. What you have listed below should work with $(var.xxx). The !(loc.xxx) and !(wix.xxx) is used later by lit or light to replace the variables for localization or wixlibs.
Thanks, Brian Rogers "Intelligence removes complexity." - Me http://icumove.spaces.live.com On Fri, Apr 3, 2009 at 3:00 AM, Kai-Uwe Teske <kai-uwe.te...@inosoft.com>wrote: > Hi All, > > i am stumbling around with my first Wix Project using variables. > Could someone explain when i had to use $(var.xyz) and !(loc.abc)? > > Why i couldn't write things like that in my Directory Attribute? > <Directory Id="unique > <ende?lp=ende&p=thMx..&search=unique>_id$(var.abc)" Name="$(var.abc)"> > Error: Undefined preprocessor variable '$(var.abc)'. > > <Directory Id="unique > <ende?lp=ende&p=thMx..&search=unique>_id!(loc.abc)" Name="!(loc.abc)"> > Error: The Directory/@Id attribute's value, 'unique_id!(loc.abc)', is > not a legal identifier. > > Why i couldn't write $(var.name) in my Source Attribute, > <File Id="_id" Name="FileName.dll" > Source="$(var.name)\WPF.Controls\WPF.Controls.dll" /> > but !(loc.name) works? > <File Id="_id" Name="FileName.dll" > Source="!(loc.name)\WPF.Controls\WPF.Controls.dll" /> > > > All "var"s are defined in a include.wxi not in a .wixproj file > All "loc" are defined in WixLocalization file. > > Wix Version 3.0.5120.0 <3.0.5120.0/> > > Best regards > > Kai-Uwe > > > > ------------------------------------------------------------------------------ > _______________________________________________ > 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