That won't control the install order. The Windows Installer is declarative,
which means you define what you want and then the Windows Installer executes
it in the "right order". The order is defined by large actions (like
"InstallFiles") defined in the ***Sequence tables.

The WiX toolset automatically populates the ***Sequence tables with the
recommended values from the Windows Installer.
On Fri, Dec 17, 2010 at 3:03 PM, kim <contactme...@gmail.com> wrote:

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


-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
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

Reply via email to