|
From: Robert B. <buc...@gm...> - 2011-02-27 15:10:39
|
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
|