I am currently using the stable 2.0 binaries to build my installer. Currently 
today i have multiple wxs files, 2 for individual msm's and 1 to include those 
msm's to build a few msi's. now, what i would like to do is consolidate down to 
a single wxs and still retain the ability to net the same output. unfortunately 
to date my attempts have failed to pass candle. let me elaborate:
 
my problem is actually in the way the <?if><?elseif?><?endif?> are working. 
heres an example of what i would like to do, but for some reason these 
preprocessor commands arent really preprocessor.
 
<?if $(var.type) = msi ?>
<product>
<?elseif $(var.type) = msm ?>
<module><?endif ?>
<package/><?if $(var.type) = msi ?>
</product>
<?elseif $(var.type) = msm ?>
</module>
<?endif ?>
 
needless to same candle gives me an error something to likes of module start 
tag does not match end tag of product. well i would think that the preprocessor 
would be able to handle making sure the proper tags were insert/deleted based 
on the conditional statements. so i thought maybe i can move the contents of 
these to include files, however include files weren't really meant to be used 
in this manner. i get error that says the product start tag does not match the 
end tag of include. perhaps i am doing something wrong, hopefully someone can 
shed some light on this topic for me. thanks!!~Jeremy
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to