Hi fellow Wixians,

I've been tasked with automating MSI creation , tying it into our build
processes, and running into some grief with heat.
So, I've got two questions for the list:

a)  There doesn't seem to be a way to fully automate the process from
directory harvest all the way through to msi compilation, using the Wix
toolchain exclusively - so far my approach is to create a template .wxs
file describing our application installation, fill it with keywords, and
then populate the template , including one colossal dump of the directory
structure from heat.  Essentially munging a .wxs file together, adding a
header, start-menu definition etc programatically - then Candle, then
Light.  Am I going about this the stupid way?  Any hints on streamlining
the workflow?

and
b)  We require the final .msi to reside in the application's base
directory, simply referencing its surrounding files, but not archiving them
(this is just for easy distribution).   If I harvest the directory's
contents like so:
[application_dir]:\> heat.exe dir . -cg MainApp -sfrag -sreg -scom -svb6
-gg -o appHarvest.wxs

I can see in the resulting .wxs it creates a
<DirectoryRef Id="TARGETDIR">
            <Directory Id="[some dir id" Name="[application_dir]">



When it comes time to compile and run, this will create something like:
application_dir\application_dir\installer.msi

...with both application_dirs containing copies of all files.  Obviously
this isn't right!

When using heat's "dir" argument, it seems to always define a subdirectory
within the fragment.  Is there a way to disable this?

thanks for any input and advice!

- Andrew
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to