Let me guess: your three small apps are native C++.

This is a limitation of the APIs Votive uses to extract information about
other projects in the solution. DevDiv has been trying for a decade now to
kill off native code.

The project references currently only work against msbuild and managed
projects. Native C++ projects currently require not using the project
reference variables.

-----Original Message-----
From: Brian Williams [mailto:brianjackiewilli...@yahoo.com] 
Sent: Friday, August 14, 2009 5:00 PM
To: Wix Users
Subject: [WiX-users] Issue with var.Project.x variables in WIX 3.0

Anyone,

I'm obviously new to WIX.  This is my first project where we are using WIX
to generate the installer.  I've got to say that I will  never do it another
way again.

I am having a problem that seems to mean I'm brain dead because it is so
basic.  I was developing and testing for XP using VS2003 and WIX2.0 -
everything was working fine, however, for obvious reasons I need to move
into the current century and have upgraded my development machine to Vista
Business, the development environment to VS2008 Standard and installer
package to WIX3.0.

Votive is now working much better for me, and yes it took a while to convert
to the new schema.

The only thing that doesn't seem to be working is the variable references to
other projects in the solution...

I have a solution with 4 projects (three small apps and a WIX project).  One
of the projects is named AppHelp

I've added the project reference to the WIX project - but the reference
shows up with a triangular ! icon on it and in the properties the "Full
Path" property is blank?

When I build the WIX project I get the error: error CNDL0150: Undefined
preprocessor variable '$(var.AppHelp.ProjectDir)'.
 
The problem isn't specific to AppHelp - it is true for any of the other
projects, and for any of their "." attributes... even
$(var.App.TargetFileName)

The solution is in the directory C:\users\brian\documents\Visual Studio
2008\Solutions\ISP
each of the four projects are under that directory (for example ISPHelp is
in: C:\users\brian\documents\Visual Studio 2008\Solutions\ISP\ISPHelp)

The error is on the first "$(var.<project name>.<value>) reference in the
.wxs file - if I remove it, or put another project reference first, the
error is for the first reference to any project variable.

Currently have UAC in Vista turned off.

For now I've worked around it by defining my own variables...
I'm sure it is something dumb I've done, but can't seem to find any
direction on where to look.  Any assistance would be appreciated for the
Newbee..
 

Brian


      
----------------------------------------------------------------------------
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus
on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to