I believe the SourceName Attribute is what you're looking for.

http://wixtoolset.org/documentation/manual/v3/xsd/wix/copyfile.html

Carter

Quoting Soren Dreijer <dreijer+l...@echobit.net>:

> Hi there,
>
> I want to make a backup of a file during a major upgrade. The CopyFIle
> element is pretty much what I need, but I'd like to generate the
> destination file name on the fly to prevent name clashing.
>
> Is there a way to do this with WiX that doesn't require me to use a custom
> action?
>
> Cheers,
> Soren
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>




------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to