I'm getting an "Undefined preprocessor variable '$(var.AppRegistryPath)'." in
one of my wxs files.

Inside the main Product.wxs I include the config file like so:


        <?include $(sys.CURRENTDIR)\Product.Config.wxi?>
        

This file includes a bunch of defined variables:
        <?define AppCode = "!(loc.APPNAME)" ?>
        <?define AppManufacturer = "MyCompany" ?>
        <?define AppProductCode = "{7c710300-5ce2-4ecb-ac02-609620aa28e2}" ?>
        <?define AppRegistryPath = 
"Software\$(var.AppManufacturer)\$(var.AppCode)"
?>

I'm trying to use the variable in the main Product.wxs file and a couple
other referencing wxs files like this:
        

Any ideas why this value would not be working?
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Undefined-Preprocessor-Variable-tp5531578p5531578.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to