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