When I compare the log files Here is what I got

This is from working (GUI) install:

MSI (s) (40:D0) [14:53:28:913]: Executing op: SetSourceFolder(Folder=C:\Program 
Files\TestInstall\VMP Server\ASR\MVPASRConfig\)
MSI (s) (40:D0) [14:53:28:913]: Executing op: SetTargetFolder(Folder=C:\Program 
Files\Test\Config\)
MSI (s) (40:D0) [14:53:28:913]: Executing op: 
FileCopy(SourceName=SpeechWorks.cfg,,DestName=SpeechWorks.cfg,Attributes=0,FileSize=968,PerTick=0,IsCompressed=0,VerifyMedia=0,,,,,CheckCRC=0,,,InstallMode=262144,,,,,,,)
MSI (s) (40:D0) [14:53:28:913]: File: C:\Program 
Files\Test\Config\SpeechWorks.cfg;     To be installed;        Won't patch;    
No existing file
MSI (s) (40:D0) [14:53:28:913]: Source for file 'SpeechWorks.cfg' is 
uncompressed, at 'C:\Program Files\TestInstall\VMP Server\ASR\MVPASRConfig\'.
MSI (s) (40:D0) [14:53:28:913]: Note: 1: 2318 2: C:\Program 
Files\Test\Config\SpeechWorks.cfg 


This part is from unattended install:

MSI (s) (40:28) [14:57:37:041]: Executing op: 
FileCopy(SourceName=SPEECH_1.CFG|SpeechWorks.cfg,SourceCabKey=SPEECHWorks_cfg,DestName=SpeechWorks.cfg,Attributes=0,FileSize=968,PerTick=32768,,VerifyMedia=1,,,,,CheckCRC=0,,,InstallMode=58982400,HashOptions=0,HashPart1=-1665668314,HashPart2=860919431,HashPart3=-1485459813,HashPart4=996330112,,)
MSI (s) (40:28) [14:57:37:041]: File: C:\Program Files\TestInstall\VMP 
Server\ASR\MVPASRConfig\SpeechWorks.cfg; To be installed;        Won't patch;   
 No existing file
MSI (s) (40:28) [14:57:37:041]: Source for file 'SPEECHWorks_cfg' is compressed
MSI (s) (40:28) [14:57:37:041]: Note: 1: 2318 2: C:\Program 
Files\TestInstall\VMP Server\ASR\MVPASRConfig\SpeechWorks.cfg


The only differences is from some reason it doesn't put the source/target dirs 
and the unattended file is compressed.

Any help would be very appreciated.

Thanks,
Mike

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Menaker
Sent: Monday, September 17, 2007 11:35 AM
To: Frédéric Viollet; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Silent install won't copy in files

I don't think I can use [ProgramFilesFolder] with DestinationDirectory

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frédéric Viollet
Sent: Monday, September 17, 2007 12:14 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Silent install won't copy in files

Mike Menaker a écrit :
>
> 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
>
>   
You are using the DestinationProperty attribute in the CopyFile element. 
Try using DestinationDirectory instead.

Fred

-------------------------------------------------------------------------
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

-------------------------------------------------------------------------
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

Reply via email to