Hello all, I want to replace a file that has been installed by my installer.
Problem:My executing sequence is not working correctly. The following code is first creating file using the component "ConfigCopyFile" which is the then getting replace by the file created by "OneCoreFiles". I want this the other way. First the file should be created by component "OneCoreFiles" which should then be replaced by "ConfigCopyFile" The components for creating the original file and copying the new one are as follows: <Component Id="ConfigCopyFile" Guid="{98E61055-5A84-4003-90D1-7A67677D7465}"> <Condition>CONFIGFILEEXISTS</Condition> <CopyFile Id="ConfigFileId" SourceProperty="CONFIGFILEEXISTS" DestinationProperty ="INSTALLDIR"/> </Component> <Feature Id="ProductFeature" Title="OneCore Features" Level="1"> <ComponentRef Id="LogEntries" /> <!-- Following component creates the Original file--> <ComponentGroupRef Id="OneCoreFiles" /> <ComponentRef Id="AppDBConfiguration" /> <ComponentRef Id="SqlServerConfiguration" /> <ComponentRef Id="OracleConfiguration" /> <ComponentRef Id="IISConfiguration" /> </Feature> <!-- Following component replaces the file created by OneCoreFiles component--> <Feature Id="CopyFileFeature" Level="2"> <ComponentRef Id="ConfigCopyFile" /> </Feature> This must be quite simple to solve. Am I missing something. Please advice. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Sequencing-Components-in-Feature-Element-tp5845937p5845937.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users