In both Windows Installer and in MSBuild all directory paths are always 
expected to end with the trailing backslash. In fact, if you look at all of the 
built-in properties for MSBuild all of the directory paths always end with the 
backslash.
 
The fact that your WixToolPath ends in a letter instead of the backslash caused 
your build error.
 
-Blair 
 
> From: bria...@gmail.com
> Date: Fri, 10 Jan 2014 11:23:26 -0500
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] Custom Action Build Error
> 
> Thanks, it is actually the file at C:\Program Files
> (x86)\MSBuild\Microsoft\WiX\v3.x\wix.ca.targets that needed updated.
> 
> Brian
> 
> Brian
> 
> If you can't explain it simply, you don't understand it well enough.  -
> Albert Einstein
> 
> 
> On Fri, Jan 10, 2014 at 10:51 AM, Carter Young <ecyo...@grandecom.net>wrote:
> 
> > Try Editing wix.ca.targets to read
> > <CreateProperty Value="$(WixToolPath)\..\sdk\" Condition="
> >   '$(WixSdkPath)' == '' ">
> >        <Output TaskParameter="Value" PropertyName="WixSdkPath" />
> > </CreateProperty>
> >
> > Looks like the Preprocessor Variable for $(WixToolPath) doesn't
> > contain the last trailing slash for the path, then submit a Bug
> > Request to the WiX Bugtracker and reference this Post, if and only if
> > the fix works.
> >
> > If all goes well, the bug fix will reqire editing the preprocer
> > variable to include the trailing slash.  Once that's done you can
> > remove the manual edit we created from the targets file.
> >
> > Carter
> >
> > Quoting Brian Enderle <bria...@gmail.com>:
> >
> > > When I attempt to build my CustomAction project Visual Studio exits with
> > a
> > > code of 3.
> > >
> > > I have tracked the issue to the way wix.ca.targets references the path to
> > > MakeSfxCA.exe.  <snip>
> >
> >
> >
> > ------------------------------------------------------------------------------
> > CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> > Learn Why More Businesses Are Choosing CenturyLink Cloud For
> > Critical Workloads, Development Environments & Everything In Between.
> > Get a Quote or Start a Free Trial Today.
> >
> > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today. 
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
                                          
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&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