I'd like to add that I'm not really an idiot, and I didn't know that
heat generated GUIDs now. When I was writing the original script a year
ago I don't think it did. I'll have to look into that!

 

 

-Matt

 

  _____  

From: Matthew Janulewicz 
Sent: Tuesday, February 06, 2007 10:46 AM
To: Levi Wilson; Nick Hennemann
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Adding tons of files to an MSI

 

There exists (and I can't for the life of me find it again) a utility
called mallow.exe which does the same thing as tallow, except it
generates GUIDs for the components. As mentioned below, it spits out v2
wix code.

 

I wrote a perl script that is kind of VisualStudio-centric in that it
scans through a 2003 project file, picks out 'Content', stages it along
with the 'bin' directory, then runs mallow to generate a fragment. Then
the script 'schmoozes' it into Wix 3 format. What I end up with is a
fragment file that just contains the directory structure. Then I refer
to the top-level component in my 'real' file.

 

It is generally a bad thing to include 'fairly random' things in an
installer, but in the case of VisualStudio dev's are used to just adding
'output' and 'content' and having the installer take care of it. Folks
here liked the idea of Wix, but did not like the idea of having to tell
me every time a new file needed to be in an installer, thus the script
was born. It's been working great for about a month.

 

If anyone is interested in the script let me know. I'll be more than
happy to post it here.

 

 

-Matt

 

  _____  

From: Levi Wilson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 06, 2007 5:42 AM
To: Nick Hennemann
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Adding tons of files to an MSI

 

In version 3 tallow.exe does not exist.  You will need to use heat.exe.
It's very easy to do this  There is a good explanation of it here
http://installing.blogspot.com/2006/04/heatexe-making-setup-easier.html
of how to use it.  Typically you'll run it like this (to do what you
want):

heat.exe dir c:\mydir -template:product -gg -out mydir.wxs 

On 2/6/07, Nick Hennemann <[EMAIL PROTECTED]> wrote:

take a look at the tallow.exe command...very helpful for this type of
situation.

 

  _____  

From: [EMAIL PROTECTED] on behalf of Very Secret
Sent: Tue 2/6/2007 4:31 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Adding tons of files to an MSI

Can anyone help me to automatically add a directory and all its
contents to an MSI?

The problem: I have a directory whose contents is auto generated and
therefore can be considered fairly random. The directory may contain
thousands of files so adding them manually with the <File ...> tag is
not an option.

My question: How can I add the directory, say "myDir",  and all the
files in myDir to the MSI automatically? Are there some <File
Source="myDir\*" ... /> option?

(I am using the latest version of Wix 3)

------------------------------------------------------------------------
-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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.
 


------------------------------------------------------------------------
-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier. 
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users 

 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to