Re: [WiX-users] Silent install won't copy in files
Must be time to create an MSI log of UI and non-UI to see what's going on. Have you searched your system for the files involved? It's not unusual for files to end up being installed at some unexpected location (such as C:\filename), so it's possible that skipping the UI sequence is resulting in an unresolved location that's defaulting to the root drive or something. It's hard to believe they're not installed at all if conditions, install level and so on are all correctly set. Phil Wilson From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching Sent: Thursday, September 27, 2007 2:08 PM To: Mike Menaker; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Silent install won't copy in files Indeed. Odd. I've never heard of any issues like this... From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Menaker Sent: Wednesday, September 26, 2007 14:09 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/vse012070mrt/direct/01/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Silent install won't copy in files
Indeed. Odd. I've never heard of any issues like this... From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Menaker Sent: Wednesday, September 26, 2007 14:09 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/vse012070mrt/direct/01/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] 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/vse012070mrt/direct/01/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
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/vse012070mrt/direct/01/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Silent install won't copy in files
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/vse012070mrt/direct/01/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Silent install won't copy in files
AFAIK, DestinationDirectory is an identifier in the Directory table and DestinationProperty is a name of the property, as stated in CopyFile uses DuplicateFile/MoveFile table. Either case, there should be no square brackets. So declare the directory or the property - I would suggest the Directory and use the identifier. Here is an example. Directory Id=ProgramFilesFolder Directory Id=TestFolder Name=Test Directory Id=TestConfigFolder Name=Config/ /Directory /Directory File Id=USER_XML Name=user.xml LongName=user.xml CopyFile Id=CopyUserXml DestinationDirectory=TestConfigFolder / /File Chesong Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frédéric Viollet Sent: Tuesday, September 18, 2007 12:23 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Silent install won't copy in files I haven't tried this out, maybe other contributors will correct me. But I think you can use any property between square brackets in DestinationDirectory. Square brackets make the property to be evaluated. The difference is between DestinationProperty and DestinationDirectory would be: DestinationProperty=MyProperty DestinationDirectory=[MyProperty] Maybe I'm wrong, but I understand that DestinationProperty waits for a single property to contain the whole destination path. Have you tried using DestinationDirectory? Mike Menaker a écrit : 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/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Silent install won't copy in files
I haven't tried this out, maybe other contributors will correct me. But I think you can use any property between square brackets in DestinationDirectory. Square brackets make the property to be evaluated. The difference is between DestinationProperty and DestinationDirectory would be: DestinationProperty=MyProperty DestinationDirectory=[MyProperty] Maybe I'm wrong, but I understand that DestinationProperty waits for a single property to contain the whole destination path. Have you tried using DestinationDirectory? Mike Menaker a écrit : 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 begin:vcard fn;quoted-printable:Fr=C3=A9d=C3=A9ric Viollet n;quoted-printable:Viollet;Fr=C3=A9d=C3=A9ric org:Bull, Architect of an Open World (TM);Evidian S.A. adr;quoted-printable:;;Rue Jean Jaur=C3=A8s;Les Clayes Sous Bois;;78340;France email;internet:[EMAIL PROTECTED] title:Software Engineer tel;work:01 30 80 77 34 url:http://www.evidian.com - http://www.bull.com version:2.1 end:vcard - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
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 begin:vcard fn;quoted-printable:Fr=C3=A9d=C3=A9ric Viollet n;quoted-printable:Viollet;Fr=C3=A9d=C3=A9ric org:Bull, Architect of an Open World (TM);Evidian S.A. adr;quoted-printable:;;Rue Jean Jaur=C3=A8s;Les Clayes Sous Bois;;78340;France email;internet:[EMAIL PROTECTED] title:Software Engineer tel;work:01 30 80 77 34 url:http://www.evidian.com - http://www.bull.com version:2.1 end:vcard - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
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/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Silent install won't copy in files
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/vse012070mrt/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/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[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/vse012070mrt/direct/01/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users