[WiX-users] add files with heat

2013-05-03 Thread Victor Mukherjee
Hi,

I was looking for a way to add files from multiple directories with 
HeatDirectory element.
Also, I would like to know if there is a way to append the fragment generated 
by HeatDirectory to an existing .wxs file.

Regards,
Victor Mukherjee
--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] add files with heat

2013-05-03 Thread Jeremiahf
In visual studio under build you need to define a preprocessor variable
that points to the location of the root directory. Example:
DatabaseDir=..\Folder.
Then under build events you need to write a Pre-build Event command line to
have heat generate the wxs file every time you make a build.
Example: $(WIX)bin\heat.exe dir $(ProjectDir)..\Folder -dr
INSTALLLOCATION -cg NameofyourGroup -gg -sf -srd -var var.DatabaseDir
-out $(ProjectDir)..\wxsfolder\NameofyourGroup .wxs.

Hope this is what you were looking for.

J


On Fri, May 3, 2013 at 6:03 AM, Victor Mukherjee victo...@insync.co.inwrote:

 Hi,

 I was looking for a way to add files from multiple directories with
 HeatDirectory element.
 Also, I would like to know if there is a way to append the fragment
 generated by HeatDirectory to an existing .wxs file.

 Regards,
 Victor Mukherjee

 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite
 It's a free troubleshooting tool designed for production
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://p.sf.net/sfu/appdyn_d2d_ap2
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




-- 
They may forget what you said but they will never forget how you made them
feel. -- Anonymous
--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] add files with heat

2013-05-03 Thread John Cooper
In general, it would be better to use the HeatDirectory / element.  For 
example:

EnableProjectHarvestingTrue/EnableProjectHarvesting

  Target Name=BeforeBuild
HeatDirectory ToolPath=$(WIX)bin\
Directory=..\Folder
PreprocessorVariable=var.DatabaseDir

OutputFile=$(ProjectDir)..\wxsfolder\NameofyourGroup .wxs 
GenerateGuidsNow=true
ComponentGroupName=NameofyourGroup
DirectoryRefId=INSTALLLOCATION
SuppressRootDirectory=true /
  /Target


--
John Merryweather Cooper
Build  Install Engineer - ESA
Jack Henry  Associates, Inc.®
Shawnee Mission, KS  66227
Office:  913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com 


-Original Message-
From: Jeremiahf [mailto:jeremi...@gmail.com] 
Sent: Friday, May 03, 2013 10:33 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] add files with heat

In visual studio under build you need to define a preprocessor variable that 
points to the location of the root directory. Example:
DatabaseDir=..\Folder.
Then under build events you need to write a Pre-build Event command line to 
have heat generate the wxs file every time you make a build.
Example: $(WIX)bin\heat.exe dir $(ProjectDir)..\Folder -dr INSTALLLOCATION 
-cg NameofyourGroup -gg -sf -srd -var var.DatabaseDir
-out $(ProjectDir)..\wxsfolder\NameofyourGroup .wxs.

Hope this is what you were looking for.

J


On Fri, May 3, 2013 at 6:03 AM, Victor Mukherjee victo...@insync.co.inwrote:

 Hi,

 I was looking for a way to add files from multiple directories with 
 HeatDirectory element.
 Also, I would like to know if there is a way to append the fragment 
 generated by HeatDirectory to an existing .wxs file.

 Regards,
 Victor Mukherjee

 --
  Get 100% visibility into Java/.NET code with AppDynamics Lite 
 It's a free troubleshooting tool designed for production Get down to 
 code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://p.sf.net/sfu/appdyn_d2d_ap2
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




--
They may forget what you said but they will never forget how you made them 
feel. -- Anonymous
--
Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free 
troubleshooting tool designed for production Get down to code-level detail for 
bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users