But I shouldn't need to install "WiX" on the build server, right?  At least
that's how I understand this page in the WiX docs...

http://wixtoolset.org/documentation/manual/v3/msbuild/daily_builds.html

What I find odd is why is MSBuild even looking for the wix.targets file in
the program files folder.  It should be looking for it in
"..\Dependencies\WiX\3.7\".  I even went so far as to remove the two
default WixTargetsPath entries (created by Votive) in the wixproj just to
make sure they were not being invoked as they set WixTargetsPath to
"...Program Files..."



On Fri, Oct 25, 2013 at 3:28 PM, John Cooper <jocoo...@jackhenry.com> wrote:

> It's not the target you're building to.  It may be a manifestation of a
> bug in the WiX installer.  It only creates entries in the 32-bit registry
> hive.  On 64-bit build servers, these are in WOW, and they don't resolve as
> expected.  You can create the keys in the 64-bit hive or force the builds
> (if you're using TFS 2010 or later) to x86.
>
> --
> John Merryweather Cooper
> Build & Install Engineer -- ESA
> Jack Henry & Associates, Inc.(r)
> Shawnee Mission, KS  66227
> Office:  913-341-3434 x791011
> jocoo...@jackhenry.com
> www.jackhenry.com
>
>
>
>
> -----Original Message-----
> From: Tony [mailto:yellowjacketl...@gmail.com]
> Sent: Friday, October 25, 2013 1:57 PM
> To: General discussion about the WiX toolset.
> Subject: Re: [WiX-users] Can't find wix.targerts during MSBuild's 'clean'
> operation...
>
> Yes (so it my desktop).  But the wixproj's platform is set to x86 for the
> Release/AnyCPU traget.  That is same target used on my machine as well as
> the build configuration in TFS.
>
>
> On Fri, Oct 25, 2013 at 2:48 PM, John Cooper <jocoo...@jackhenry.com>
> wrote:
>
> > Are your build servers 64-bit?
> >
> > --
> > John Merryweather Cooper
> > Build & Install Engineer -- ESA
> > Jack Henry & Associates, Inc.(r)
> > Shawnee Mission, KS  66227
> > Office:  913-341-3434 x791011
> > jocoo...@jackhenry.com
> > www.jackhenry.com
> >
> >
> >
> > -----Original Message-----
> > From: Tony [mailto:yellowjacketl...@gmail.com]
> > Sent: Friday, October 25, 2013 1:38 PM
> > To: WiX Users
> > Subject: [WiX-users] Can't find wix.targerts during MSBuild's 'clean'
> > operation...
> >
> > My test solution builds fine on my machine (Release/AnyCPU), but on
> > our build server I get this error...
> >
> >
> > Built
> >
> > $/Sandbox-Scrum/TLBBuildSandbox/Code/Installers/HS.Test.Installer/HS.T
> > est.Installer.wixproj
> > for target(s) Clean.
> >
> >
> > C:\Builds\2\Sandbox-Scrum\HS.Test.All\src\Sandbox-Scrum\TLBBuildSandbo
> > x\Code\Installers\HS.Test.Installer\HS.Test.Installer.wixproj
> > (52):
> >  The imported project "C:\Program Files
> > (x86)\MSBuild\Microsoft\WiX\v3.x\Wix.targets" was not found. Confirm
> > that the path in the <Import> declaration is correct, and that the
> > file exists on disk.
> >
> >
> > I have made these additions to my wixproj file...(at the top right
> > after the "Project" entry)
> >
> >    <PropertyGroup>
> >
> >
> >
> <WixToolPath>$(MSBuildThisFileDirectory)..\..\Dependencies\WiX\3.7\</WixToolPath>
> >     <WixTargetsPath>$(WixToolPath)Wix.targets</WixTargetsPath>
> >     <WixTasksPath>$(WixToolPath)wixtasks.dll</WixTasksPath>
> >   </PropertyGroup>
> >
> > and I have removed the two default entries for WixTargetsPath
> >
> > ...so I'm not quite sure why the clean operation can't find
> > WixTargetsPath.  Or for that matter why it is looking for it in
> > "...MSBuild\Microsoft\WiX..." rather than in "...\Dependencies\WiX..."
> >
> > Any ideas?
> >
> > VS2012, TFS2012, WiX 3.7
> > --
> > Tony
> >
> > ----------------------------------------------------------------------
> > -------- October Webinars: Code for Performance Free Intel webinars
> > can help you accelerate application performance.
> > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the
> > most from the latest Intel processors and coprocessors. See abstracts
> > and register >
> > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.c
> > lktrk _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> > NOTICE: This electronic mail message and any files transmitted with it
> > are intended exclusively for the individual or entity to which it is
> > addressed. The message, together with any attachment, may contain
> > confidential and/or privileged information.
> > Any unauthorized review, use, printing, saving, copying, disclosure or
> > distribution is strictly prohibited. If you have received this message
> > in error, please immediately advise the sender by reply email and
> > delete all copies.
> >
> >
> >
> > ----------------------------------------------------------------------
> > -------- October Webinars: Code for Performance Free Intel webinars
> > can help you accelerate application performance.
> > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the
> > most from the latest Intel processors and coprocessors. See abstracts
> > and register >
> > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.c
> > lktrk _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
>
>
> --
> Tony
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from the latest Intel processors and coprocessors. See abstracts and
> register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> NOTICE: This electronic mail message and any files transmitted with it are
> intended
> exclusively for the individual or entity to which it is addressed. The
> message,
> together with any attachment, may contain confidential and/or privileged
> information.
> Any unauthorized review, use, printing, saving, copying, disclosure or
> distribution
> is strictly prohibited. If you have received this message in error, please
> immediately advise the sender by reply email and delete all copies.
>
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
Tony
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to