Some sample code that demonstrates the problem might be in order.

I've defined preprocessor variables in .wxi include files before and 
successfully used those values in the .wxs file that included them.

Edwin G. Castro
Software Developer - Staff
Electronic Banking Services
Fiserv
Office: 503-746-0643
Fax: 503-617-0291
www.fiserv.com
Please consider the environment before printing this e-mail


> -----Original Message-----
> From: Pound, Robert (CDC/OCOO/ITSO) (CTR) [mailto:u...@cdc.gov]
> Sent: Monday, December 13, 2010 11:38 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Clarification for Defined WiX Variables defined in and
> used by included (wxi) files
> 
> If I define a variable "<?define var1 ?>" in Product.wxs, I can access the
> variable from a wxi file included into Product.wxs.  However, if from
> Product.wxs I include a wxi file that defines a variable "<?define var2 ?>", I
> do not seem to be able to reference it later in the Product.wxs file.
> 
> WiX documentation states that an include file "will be processed as if it were
> part of this file".  Are variables defined in the wxi file not available to 
> the file
> that included them?
> 
> Thanks
> Bob
> ------------------------------------------------------------------------------
> Lotusphere 2011
> Register now for Lotusphere 2011 and learn how to connect the dots, take
> your collaborative environment to the next level, and enter the era of Social
> Business.
> http://p.sf.net/sfu/lotusphere-d2d
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to