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] prepocessor variables in fragments

2009-04-06 Thread Kai-Uwe Teske
In wixproj file

PropertyGroup
DefineConstantsvar=123;/DefineConstants
 /PropertyGroup

works on my machine.

Frederico Rico Apostolo schrieb:
 Hello every1, hope it's all good.

 I would like to avoid using ?include PreProcessor_Vars.wxi ? in every 
 fragment I put a $(var.var), how can I make then global pls

 Best Regards, a noob.


 __

 Esta mensagem e ficheiros anexos incluem materia privada, confidencial e 
 legalmente protegida, 
 exclusivamente destinada a quem nela conste como destinatario. Se recebeu 
 esta mensagem por 
 engano, agradecemos que informe de imediato o remetente e que elimine a 
 mensagem e os 
 ficheiros sem os utilizar, divulgar ou reproduzir.

 This message and attached files contain private, confidential and legally 
 privileged information, 
 exclusively intended for the named addressees. If you have received this 
 message in error, 
 please contact the sender immediately and delete the message and files 
 without utilization, 
 circulation or reproduction.
 --
 ___
 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