Sounds like a bug. Would you file it?
-----Original Message-----
From: Brian Mitchell [mailto:[email protected]]
Sent: Monday, December 29, 2008 16:13
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] FileSource attribute of the Directory Element
Hrmm...it doesn't.
At least, using VS 2005 with Votive and doing this doesn't work:
....snippet....
<Property Id="INSTALLTODIR"><![CDATA[E:\myprog\]]></Property>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder" Name="PFiles">
<Directory Id=" INSTALLTODIR " Name=".">
<Directory Id="TheService" FileSource="C:\sourcefiles\"
Name="TheService">
<Component Id="component1" Guid="[guid]">
<File Source="config.xml" KeyPath="yes" />
<File Source="Service.svc" KeyPath="no" />
....etc....
What I am receiving is an error in Visual Studio telling me that the
files cannot be found.
-----Original Message-----
From: Rob Mensching [mailto:[email protected]]
Sent: Monday, December 29, 2008 6:52 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] FileSource attribute of the Directory Element
Yes, that should work.
-----Original Message-----
From: Brian Mitchell [mailto:[email protected]]
Sent: Monday, December 29, 2008 14:51
To: [email protected]
Subject: [WiX-users] FileSource attribute of the Directory Element
There is not a lot of documentation on the FileSource attribute, so what
I am wondering is if I have a Directory element with FileSource
specified like so:
...snippet...
<Directory Id="myDir" Name="My Dir" FileSource="C:\SourceFiles\">
<Component Id="Component1" Guid="[some guid]">
<File Source="numberonefile.xml" KeyPath="no" />
<File Source="numbertwofile.xml" KeyPath="no" />
...more files...
</Component>
</Directory>
Shouldn't that work as shown? Or, must I specify file paths in the
Source attribute, e.g. <File Source="SourceFiles\numberonefile.xml"
KeyPath="no" /> ?
Brian C. Mitchell
Senior Support Developer
Payformance Corporation
The Payformance e-mail gateway <mailgw01> made the following
annotations.
------------------------------------------------------------------------
------
Confidentiality statement
***********************************************************************
Notice: This e-mail message, including any attachments, is for the sole
use of the intended recipient(s) and may contain confidential and
privileged information. Any unauthorized review, copy, use, disclosure,
or distribution is prohibited. If you are not the intended recipient,
or not an agent of the intended recipient responsible for delivering
this
message, please contact the sender by reply e-mail and destroy all
copies
of the original message.[TW] 12/29/08, 17:51:26
------------------------------------------------------------------------
------
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------
------
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
The Payformance e-mail gateway <mailgw01> made the following annotations.
------------------------------------------------------------------------------
Confidentiality statement
***********************************************************************
Notice: This e-mail message, including any attachments, is for the sole
use of the intended recipient(s) and may contain confidential and
privileged information. Any unauthorized review, copy, use, disclosure,
or distribution is prohibited. If you are not the intended recipient,
or not an agent of the intended recipient responsible for delivering this
message, please contact the sender by reply e-mail and destroy all copies
of the original message.[TW] 12/29/08, 19:13:28
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users