The way we do it is using environment variables.  Our build process sets an environment variable for build type(called BuildType), then we reference that in wix using $(env.BuildType)

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ed Abshire
Sent: Monday, September 25, 2006 12:10 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] WiX3.0 - Incorporating release path into File Source attribute using Visual Studio 2005

 

Howdy.

 

I am using a WiX project to build a MSI for a project I am working on in VS2005.  The WiX project is part of the whole solution.  I am trying to figure out how to make my WiX source file smart enough to figure out which biuld configuration I am using (release or debug) and gather the binaries up from that path.

 

In the <File> element, there is a Source attribute.  How do I make the path in this source attribute aware of which configuration I am building?

 

Thanks!

 

-Ed Abshire

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