It seems like "DestinationProperty" attribute is used in place of
"DestinationDirectory" attribute.
CopyFile topic in WiX help explains both.
One suggestion is to use:
<Directory Id="TestConfigDir" />
...
<CopyFile Id="CopyTestCfg" DestinationDirectory="TestConfigDir" />
...
Chesong Lee
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Menaker
Sent: Wednesday, September 26, 2007 2:09 PM
To: Rob Mensching; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Silent install won't copy in files
The problem is that the files aren't copied at all. When doing a normal
graphical install they get copied over fine. Silent install they don't
get copied at all. I was able to fix this problem by using the directory
structure to copy in files instead of CopyFile. It is still odd that
CopyFile didn't work.
________________________________
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 26, 2007 1:49 AM
To: Mike Menaker; wix-users@lists.sourceforge.net
Subject: RE: Silent install won't copy in files
What is the exact problem? I'm a little confused by what you mean when
you say "it isn't copying 3 files correctly"?
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Menaker
Sent: Friday, September 14, 2007 15:03
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Silent install won't copy in files
Hi,
I'm having a problem with a silent install.
I have a component that copies 2 files and writes to the registry
however it isn't copying the 3 files correctly (yet writing the registry
correctly).
This is my component.
<Component Id="SpeechConfig" DiskId="1"
Guid="49861A79-A034-4e15-BA38-783D2FCC4D90">
<File Id="TEST_cfg" Name="TEST_1.CFG"
LongName="Test.cfg">
<CopyFile Id="CopyTestCfg"
DestinationProperty="[ProgramFilesFolder]Test\Config\" />
</File>
<File Id="USER_XML" Name="user.xml"
LongName="user.xml">
<CopyFile Id="CopyUserXml"
DestinationProperty="[ProgramFilesFolder]Test\Config\" />
</File>
<Registry Id="TEST_SETREG_ADD" Root="HKLM" Key="SOFTWARE\FLEXlm License
Manager\TestLicensingService" Name='License' Action='write'
Type='string'
Value='[ProgramFilesFolder]Test\license_manager\license\test.lic' />
</Component>
Any ideas why it isn't copying in the files correctly?
Thanks,
Mike
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users