Re: [WiX-users] Best Practice for using Variables

2009-04-06 Thread Kai-Uwe Teske
it was so simple.
if i include my *.wxi in ervery fragment all works fine.

Brian Rogers schrieb:
 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.comwrote:

   
 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=endep=thMx..search=unique_id$(var.abc) Name=$(var.abc)
 Error: Undefined preprocessor variable '$(var.abc)'.

 Directory Id=unique
 ende?lp=endep=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 vars 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



   


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


Re: [WiX-users] Best Practice for using Variables

2009-04-04 Thread Brian Rogers
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.comwrote:

 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=endep=thMx..search=unique_id$(var.abc) Name=$(var.abc)
 Error: Undefined preprocessor variable '$(var.abc)'.

 Directory Id=unique
 ende?lp=endep=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 vars 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


[WiX-users] Best Practice for using Variables

2009-04-03 Thread Kai-Uwe Teske
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=endep=thMx..search=unique_id$(var.abc) Name=$(var.abc)
Error: Undefined preprocessor variable '$(var.abc)'.

Directory Id=unique 
ende?lp=endep=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 vars 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