Thanks MikeR.

For example, The FileA sets file version ,  and  FileB depends on FileA's 
version.
In this case, I write the code as follows :


  <Component Id="FILE_C_1" Guid= .... >
      <File Id="FILEA" Name="Server.exe" Source="$(var.SourceDir)Server.exe" />
  </Component>
   <Component Id="FILE_C_2" Guid= .... >
       <File Id="FILEB" Name="Config.txt" CompanionFile="FILEA" />
   </Component>

Is this correct?


Thanks, Akihiro.
 

> -----Original Message-----
> From: MikeR [mailto:michael.ru...@gmail.com] 
> Sent: Monday, April 19, 2010 11:00 PM
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] How to overwrite forcibily a file.
> 
> 
> You can make this file a companion file to a file that you 
> know will overwrite/update properly due to the file 
> versioning rules.  There is a companion file attribute on the 
> File node within WiX, which forces the file to follow the 
> versioning rules of the specified companion file.
> 
> 
> Akihiro.Shibuta wrote:
> > 
> > Hi,
> > 
> > How to overwrite forcibly a file which ignores file version 
> and timestamp?
> > 
> > I want to overwrite forcibility a file during patch install 
> or update 
> > install, upgrade install.
> > The file is set file version, and a file included new msi is older 
> > than installed file.
> > 
> > Thanks, Akihiro.
> > 
> 
> --
> View this message in context: 
> http://n2.nabble.com/How-to-overwrite-forcibily-a-file-tp49241
> 68p4925285.html
> Sent from the wix-users mailing list archive at Nabble.com.
> 
> --------------------------------------------------------------
> ----------------
> Download Intel&#174; Parallel Studio Eval Try the new 
> software tools for yourself. Speed compiling, find bugs 
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to