I have a similar situation where I am building two different WIX burn chainers 
(long story, has to do with .Net versions).  In any case I was running into 
similar issues with the paths.  I ended up creating an environment variable for 
my Wix 3.6 binaries path and inserting that in my WIX files as necessary.  I 
then just got the Wix 3.6 binaries and copied to a suitable directory.  With 
Wix 3.7 I did a proper install so it set up its own environment variables.  You 
could probably just do the Wix 3.7 binaries in the same fashion on your build 
machines if that was necessary (but I have to wonder why your build machines 
would not have it installed if it was a necessary part of the build).

I then created my own version of the Wix 3.6 target paths and import that where 
I want to reference Wix 3.6 specifically.

With this I am able to have one msbuild script that builds all targets, plus 
the installers targeting both Wix 3.6 and Wix 3.7 as necessary.

Andreas A. Mertens
Founder, Software Consultant and Developer
NVision Ideas, Inc.

cell:       604-354-9332
email:   andre...@nvisionideas.com

________________________________________
From: George Fleming [gef...@microsoft.com]
Sent: March 22, 2013 11:42 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] <WixTargetPath> and relative paths

With Wix 3.6.1922, I manually add the <WixToolPath>, <WixTargetsPath> and 
<WixTaskPath> to my .wixproj file.  If I use absolute paths, there's never any 
problem.  However, due to build servers not having Wix installed, I must use 
relative paths, and that's where I run into all kinds of problems, especially 
with <WixTargetPath>.  If I use a relative path that enables it to find 
WixTasks.dll, it then seems to screw up my <WixExtension> later in the file, 
causing my extension DLL's to not be found.

I think WIx 3.7 works better, but due to some incompatibilities, I am stuck 
with 3.6.1922 for now.

Is there a work-around?

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to