Hey Carter,

That's not quite what I'm after (unless I'm misreading the docs). I want
the *destination* file name to be uniquely generated, and as far as I can
tell from the docs, only a unique short name will be generated if one isn't
provided.

Cheers,
SOren


On Mon, Mar 10, 2014 at 11:28 AM, Carter Young <ecyo...@grandecom.net>wrote:

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