Hello, I am in the VS2010 Votive environment:

 * I have a sample app called: Company.Setup.Sample.App (a WinForms 
application).
 * I include that as a reference in my Company.WiX.Setup.Sample.
 * I include the following <File/> in my <Componet/> element: 

<FileId="MyApp"Name="$(var.Company.Setup.Sample.App.TargetFileName)"
Source="$(var.Company.Setup.Sample.App.TargetPath"DiskId="1"KeyPath="yes" />
 * First off, I guess I am reading into the Intellsense: it doesn't actually 
resolve the $(var.XYZ) contents, sadly. This would be helpful, for instance, to 
know if we've got the proper resource references.

 That aside, I am building and I get the following error strangeness:

 Error 16 Ill-formed preprocessor variable 
'$((var.Company.Setup.Sample.App.TargetPath)'. Variables must have a prefix 
(like 'var.', 'env.', or 'sys.') and a name at least 1 character long. If the 
literal string '$((var.Company.Setup.Sample.App.TargetPath)' is desired, use 
'$$((var.Company.Setup.Sample.App.TargetPath)'. 
C:\Source\Company\MyTrunk\App\Company.WiX.Setup.Sample\SampleProduct.wxs 45 1 
Company.WiX.Setup.Sample

 Any recommendations please?

 Best regards,

 Michael
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to