Light lays out your files on disk as you've specified in the
Directory/@SourceName attributes. If you've not set SourceName, the name
specified in the @Name attribute is used. If you want the source folder to
be the same as the parent directories source folder, set SourceName to ".".

Note that the 'source folder' I'm talking about here is the source of the
files from the perspective of the MSI, not the source of the files from
light's perspective - light uses the -b switch and the File/@Source
attribute to tell it where to find the files.

If you want to stop light from performing the layout of files, use the -sl
switch, but you'll have to do the layout yourself.

For the explanation of SourceName etc, see Rob's blog entry "Deciphering the
MSI Directory table, part 5 (the dot, colon and pipe)" at
http://blogs.msdn.com/robmen/archive/2005/11/04/489346.aspx.

-- 
Mike Dimmick

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 25 April 2007 20:17
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] component not compressed results in moving files
to"program files"

Hi,
 
Can someone help me understand how Wix is supposed to handle uncompressed
installs? I changed one of my wxs files to not be compressed. I was
surprised by the result. It looks like it tries to move files at bind time
to the installation target directory. That is it selects from the msi data
base the directory records and concatenates the results into a directory
path. 
.
 
I don't understand this at all. Why would changing a compress attribute
imply that I want to move files into the installation target directory (
meaning "program files") at the time I make the msi file? Why would anyone
at any time move files into the target directory as part of building an
installation file?
 



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to