To use the stuff defined in an Include file, you need to <?include?> it. Check out the documentation on the Preprocessor.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Torsten Rudnick Sent: Wednesday, November 29, 2006 06:13 To: wix-users@lists.sourceforge.net Subject: [WiX-users] How working .wxi files I am developing a setup using Votive and WiX v3. But now I want use selfdefined variables in my own wixlib. Therefore I added a new .wxi file to my .wixlib solution. At the moment it contains one variable: <?xml version="1.0" encoding="utf-8"?> <Include> <?define appIcon = ".\Bitmaps\icon.ico" ?> </Include> Now I am trying to use this variable inside of my .wxs file: <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Fragment> <Binary Id="App_Icon" SourceFile="$(var.appIcon)" /> </Fragment> </Wix> But if I try to compile this code I get an error: "Undefined preprocessor variable '$(var.appIcon)'" What do I wrong? I can not find any documentation about using .wxi files. Maybe anyone can help me? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users