First thing to chec: be very careful with trailing backslashes on quoted
paths. That can cause the Windows cmd processor to think you want the quote
escaped. Try a double backslash on your directory.

On Sun, Feb 27, 2011 at 7:09 AM, Robert Buck <buck.rober...@gmail.com>wrote:

> I have a RESTful web service that I am trying to create an installer for. I
> am publishing the artifacts to a local directory for harvesting, which
> works
> properly.
>
> However, when I exec heat passing it a number of arguments to harvest from
> the local Publish directory it fails citing I did not provide a correct
> -out
> argument.
>
> Could someone help me with this. I have tried all sorts of permutations of
> command line arguments with no success.
>
> Details below>
>
>
>  <Target Name="BeforeBuild">
>    <RemoveDir Directories="$(PublishDir)" ContinueOnError="true" />
>    <MakeDir Directories="$(PublishDir)"/>
>    <MSBuild Projects="$(SolutionDir)\Stable.Service\Stable.Service.csproj"
> Targets="ResolveReferences;_WPPCopyWebApplication"
>
> Properties="WebProjectOutputDir=$(PublishDir);Configuration=Release;Platform=AnyCPU;UseWPP_CopyWebApplication=True;PipelineDependsOnBuild=False"
> />
>    <Exec Command='"$(WixToolPath)heat" dir "$(PublishDir)" -dr MYWEBSITE
> -ke -srd -cg WebServiceComponentGroup -var var.PublishDir -gg -out
> "$(StableWebServiceFragment)"' ContinueOnError="false"
> WorkingDirectory="."/>
>  </Target>
>
>
> "C:\Program Files (x86)\Windows Installer XML v3.5\bin\heat" dir
>
> "C:\dev\sandboxes\stable-installer\dev\Stable.Installer.WebServices\bin\Release\Publish\"
> -dr MYWEBSITE -ke -srd -cg WebServiceComponentGroup -var var.PublishDir -gg
> -out "Fragments\WebServiceContentFragment.wxs"
> heat.exe(0,0): error HEAT0319: The '-out' or '-o' parameter must specify a
> file path.
>
> C:\dev\sandboxes\stable-installer\dev\Stable.Installer.WebServices\Stable.Installer.WebServices.wixproj(68,5):
> error MSB3073: The command ""C:\Program Files (x86)\Windows Installer XML
> v3.5\bin\heat" dir
>
> "C:\dev\sandboxes\stable-installer\dev\Stable.Installer.WebServices\bin\Release\Publish\"
> -dr MYWEBSITE -ke -srd -cg WebServiceComponentGroup -var var.PublishDir -gg
> -out "Fragments\WebServiceContentFragment.wxs"" exited with code 319.
>
> Thanks
>
> Bob
>
> ------------------------------------------------------------------------------
> Free Software Download: Index, Search & Analyze Logs and other IT data in
> Real-Time with Splunk. Collect, index and harness all the fast moving IT
> data
> generated by your applications, servers and devices whether physical,
> virtual
> or in the cloud. Deliver compliance at lower cost and gain new business
> insights. http://p.sf.net/sfu/splunk-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to