[WiX-users] How to mix hand-generated and auto-generated .wxs content

2014-07-09 Thread eric
I have a project that has a large number of files.  Between versions of our
software, new files get added and some get removed.  Therefore, in
automating our build process, I would like to have heat auto-generate a .wxs
file (let's call it files.wxs).

But then there are certain hand-generated items, like the product element
with its associated version and environment tags for environment variables
that we need to set.  These never change (except for the version number
which increments).  Right now, I have put all of that in a file named 
product.wxs.

How can I best combine them into one .msi?  Do I need to create a
component element inside the product element for each of the fragments
that were auto-generated in the files.wxs file?  If so, that kind of
defeats the purpose of auto-generating that file.  I'm hoping there is
another way.

Help!Thanks, in advance.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-mix-hand-generated-and-auto-generated-wxs-content-tp7595738.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to mix hand-generated and auto-generated .wxs content

2014-07-09 Thread Tunney, Stephen
Sounds like you need to give a component group name in your heat call

-cg MyComponentGroup

Add the wxs file generated from heat to your project.

Add the a ComponentGroupRef to your feature or another componentgroup depending 
on your preferences to the hand rolled wxs file.

Done

-Original Message-
From: eric [mailto:eric.bu...@lmco.com] 
Sent: July-09-14 12:48 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to mix hand-generated and auto-generated .wxs content

I have a project that has a large number of files.  Between versions of our 
software, new files get added and some get removed.  Therefore, in automating 
our build process, I would like to have heat auto-generate a .wxs file (let's 
call it files.wxs).

But then there are certain hand-generated items, like the product element 
with its associated version and environment tags for environment variables 
that we need to set.  These never change (except for the version number which 
increments).  Right now, I have put all of that in a file named product.wxs.

How can I best combine them into one .msi?  Do I need to create a component 
element inside the product element for each of the fragments that were 
auto-generated in the files.wxs file?  If so, that kind of defeats the 
purpose of auto-generating that file.  I'm hoping there is another way.

Help!Thanks, in advance.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-mix-hand-generated-and-auto-generated-wxs-content-tp7595738.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Open source business process management suite built on Java and Eclipse Turn 
processes into business applications with Bonita BPM Community Edition Quickly 
connect people, data, and systems into organized workflows Winner of BOSSIE, 
CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to mix hand-generated and auto-generated .wxs content

2014-07-09 Thread eric
Thanks, scubasteve2!  That got me through my current error and led me on to
my next.  I'll go ahead and post that as a separate question, though.

Thank you so much!


scubasteve2 wrote
 Sounds like you need to give a component group name in your heat call
 
 -cg MyComponentGroup
 
 Add the wxs file generated from heat to your project.
 
 Add the a ComponentGroupRef to your feature or another componentgroup
 depending on your preferences to the hand rolled wxs file.
 
 Done





--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-mix-hand-generated-and-auto-generated-wxs-content-tp7595738p7595746.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users