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?
begin:vcard
fn:Torsten Rudnick
n:Rudnick;Torsten
org:eComPlus GmbH;Softwareentwicklung
adr:;;Trelleborger Str. 1;Rostock;Mecklenburg-Vorpommern;18057;Deutschland
email;internet:[EMAIL PROTECTED]
title:Dipl.-Inf.
tel;work:0381 - 7780544
x-mozilla-html:FALSE
url:http://www.bi-online.de
version:2.1
end:vcard

-------------------------------------------------------------------------
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

Reply via email to