I am struggling with best technique to take output from each heat harvest 
session in pre-build in VS2012.

The application associated dlls go into the same directory as the executable as 
well as large directory structure from application content.

Sorry, the email client doesn't support the tabbing when pasting from VS

 

 

Here are my pre-build scripts.... 

D:\WIXBIN\heat dir "D:\AAA\CT\CT_2012\CT_2010\CRM\bin\x86\Release" -var 
var.ReleaseDIR -dr APPLICATIONFOLDER   -cg CRM.ApplicationBinaries -sreg -ag 
-template fragment -t D:\AAA\CT\CT_2012\CT_2010\CT.Server.Setup\Transform.xls 
-out D:\AAA\CT\CT_2012\CT_2010\CT.Server.Setup\CTBinaries.wxs


 

D:\WIXBIN\heat project  D:\AAA\CT\CT_2012\CT_2010\CRM\CRM5.vbproj -var 
var.SourcePath -dr APPLICATIONFOLDER -pog Satellites  -directoryid 
APPLICATIONFOLDER -pog Content -cg ContentComponentGroup -ag -t 
D:\AAA\CT\CT_2012\CT_2010\CT.Server.Setup\Transform.xls  -template fragment -v 
-out D:\AAA\CT\CT_2012\CT_2010\CT.Server.Setup\CTContent.wxs


 

 

 

the  Folders.wxs fragment  .....

 <?includecommon.wxi ?>

<Wixxmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension"xmlns="http://schemas.microsoft.com/wix/2006/wi";>

<Fragment>

<PropertyId="DirectoryStructure"Value="1" />

<!-- Installation Folder -->

<DirectoryId="TARGETDIR"Name="SourceDir">

<DirectoryId="ProgramFilesFolder">

<DirectoryId="ManufacturerFolder"Name="$(var.MANUFACTURER)">

<DirectoryId="APPLICATIONFOLDER"Name="$(var.PRODUCT)">

</Directory>

</Directory>

</Directory>

<!-- Start Menu Folder -->

<DirectoryId="ProgramMenuFolder"Name="Programs">

<DirectoryId="ProgramMenuDir"Name="$(var.PRODUCT)">

<ComponentId="ProgramMenuDir"Guid="1b6136c8-3c0e-4bfc-9a8b-9e16ebd85cd3">

<RemoveFolderId="ProgramMenuDir"On="uninstall" />

<RegistryValueRoot="HKCU"Key="Software\$(var.MANUFACTURER)\$(var.PRODUCT)"Type="string"Value=""KeyPath="yes"
 />

</Component>

</Directory>

</Directory>

<!-- Desktop Folder -->

<DirectoryId="DesktopFolder"Name="Desktop" />

</Directory>

</Fragment>

</Wix>

starting OUTPUT OF HEAT DIR ...  into  CTBinaries.wxs

<?xmlversion="1.0"encoding="utf-8"?>

<Wixxmlns="http://schemas.microsoft.com/wix/2006/wi";>

<Fragment>

<DirectoryRefId="APPLICATIONFOLDER">

<DirectoryId="dir128677A741165F2F6D19FF607E03DC4F"Name="Release" />

</DirectoryRef>

</Fragment>

<Fragment>

<ComponentGroupId="CRM.ApplicationBinaries">

<ComponentId="cmp4762B2CE22CCEBFFA70FB2F1B3F92E96"Directory="dir128677A741165F2F6D19FF607E03DC4F"Guid="*">

<FileId="fil2658AD869BC24B7CECB139CE5CDCED88"KeyPath="yes"Source="$(var.ReleaseDIR)\AdvancedIntellect.Ssl.dll"
 />

</Component>

 

 the starting OUTPUT from HEAT Project .... into CTContent.wxs

 

<?xmlversion="1.0"encoding="utf-8"?>

<Wixxmlns="http://schemas.microsoft.com/wix/2006/wi";>

<Fragment>

<ComponentGroupId="CRM5.Satellites" />

</Fragment>

<Fragment>

<DirectoryRefId="APPLICATIONFOLDER">

<DirectoryId="dir73382706E7D3D3FFB66D4F4B430C6523"Name="Components" />

<DirectoryId="dir3BC9466F5094E839314BD5E4441CA0F7"Name="editor" />

<DirectoryId="dirEE3D2E7B6B5E1950CEF175F4A90AA401"Name="Resources" />

</DirectoryRef>

</Fragment>

<Fragment>

<ComponentGroupId="CRM5.Content">

<ComponentRefId="cmp2A21F0738B8E43D724E7F5C585265431" />

<ComponentRefId="cmpE053DB9520679A127311758470548FBF" />

<ComponentRefId="cmp3FC1C201C59DC32D15B80BE2925CE422" />

<ComponentRefId="cmp4B0FB4E97E0FF15E5491BCBAF9D819DB" />

 

 

I would appreciate a pointer into the right direction.

 

The associated dlls get put into the Release subdirectory as pointed 

 

<DirectoryRefId="APPLICATIONFOLDER">

<DirectoryId="dir128677A741165F2F6D19FF607E03DC4F"Name="Release" />

</DirectoryRef>

from the HEAT dir output.

 

 

 

 

 

Thanks in advance....

 

Bruce Heath

 

 

DreamOn Software

br...@dreamonsoftware.com

989-785-9055
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to