Hi all,

I need to detect if a file with name xxx sits beside the MSI during install and 
if it does, copy it

A) over top of a freshly installed file by the same name in the product 
directory (in case of a 
fresh install)

B) over top of an already existing file by the same name in the product 
directory (in case of an 
update)

I believe that I need to use CopyFile and FileSearch to achieve this but am not 
clear on how to do 
this; for instance, does sequencing come into play (in the case of A) obviously 
the file copying 
must already have happened before I can attempt to overwrite).

Any pitfalls around sufficient rights to overwriting files?



Thanks for any pointers,
K



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to