Re: [WiX-users] Generating a unique file name

2014-03-13 Thread sergey.s.betke
h it. >> >> >> > >> >> >> > -Original Message- >> >> >> > From: Soren Dreijer [mailto:dreijer+l...@echobit.net] >> >> >> > Sent: Monday, March 10, 2014 8:58 PM >> >> >> > To: General discus

Re: [WiX-users] Generating a unique file name

2014-03-12 Thread Carter Young
t touch it. >> >> >> > >> >> >> > -Original Message- >> >> >> > From: Soren Dreijer [mailto:dreijer+l...@echobit.net] >> >> >> > Sent: Monday, March 10, 2014 8:58 PM >> >> >> > To: General

Re: [WiX-users] Generating a unique file name

2014-03-12 Thread Soren Dreijer
14 at 10:25 AM, Hoover, Jacob > >> > wrote: > >> > > >> >> But if it hasn't been modified then you already know what is in it. > If > >> a > >> >> user manually modifies the file, then a major upgrade should not

Re: [WiX-users] Generating a unique file name

2014-03-12 Thread sergey.s.betke
rch 10, 2014 5:45 PM > To: General discussion about the WiX toolset. > Subject: Re: [WiX-users] Generating a unique file name > > Hi Rob, > > As far as I can tell from the docs ( > http://msdn.microsoft.com/en-us/library/aa372079%28v=vs.85%29.aspx), the > format of the time mig

Re: [WiX-users] Generating a unique file name

2014-03-11 Thread Carter Young
t; >> user manually modifies the file, then a major upgrade should not remove >> it. >> >> If it was modified with XmlFile CA's or the likes, were the original >> user >> >> choices persisted in the registry? >> >> >> >> -Origi

Re: [WiX-users] Generating a unique file name

2014-03-11 Thread Soren Dreijer
h XmlFile CA's or the likes, were the original > user > >> choices persisted in the registry? > >> > >> -Original Message- > >> From: Soren Dreijer [mailto:dreijer+l...@echobit.net] > >> Sent: Tuesday, March 11, 2014 12:12 PM > >>

Re: [WiX-users] Generating a unique file name

2014-03-11 Thread Soren Dreijer
jer+l...@echobit.net] > > Sent: Tuesday, March 11, 2014 12:12 PM > > To: General discussion about the WiX toolset. > > Subject: Re: [WiX-users] Generating a unique file name > > > > Hey Jacob, > > > > It's an app.config file that's part of the

Re: [WiX-users] Generating a unique file name

2014-03-11 Thread Carter Young
chobit.net] >> Sent: Tuesday, March 11, 2014 12:12 PM >> To: General discussion about the WiX toolset. >> Subject: Re: [WiX-users] Generating a unique file name >> >> Hey Jacob, >> >> It's an app.config file that's part of the installation, so a m

Re: [WiX-users] Generating a unique file name

2014-03-11 Thread Phil Wilson
gt; From: Soren Dreijer [mailto:dreijer+l...@echobit.net] > Sent: Tuesday, March 11, 2014 12:12 PM > To: General discussion about the WiX toolset. > Subject: Re: [WiX-users] Generating a unique file name > > Hey Jacob, > > It's an app.config file that's part of the installat

Re: [WiX-users] Generating a unique file name

2014-03-11 Thread Soren Dreijer
sisted in the registry? > > -Original Message- > From: Soren Dreijer [mailto:dreijer+l...@echobit.net] > Sent: Tuesday, March 11, 2014 12:12 PM > To: General discussion about the WiX toolset. > Subject: Re: [WiX-users] Generating a unique file name > > Hey Jacob, > > It'

Re: [WiX-users] Generating a unique file name

2014-03-11 Thread tanu gupta
uldn't touch it. > > -Original Message- > From: Soren Dreijer [mailto:dreijer+l...@echobit.net] > Sent: Monday, March 10, 2014 8:58 PM > To: General discussion about the WiX toolset. > Subject: Re: [WiX-users] Generating a unique file name > > Hi Harold, > > T

Re: [WiX-users] Generating a unique file name

2014-03-11 Thread Hoover, Jacob
- From: Soren Dreijer [mailto:dreijer+l...@echobit.net] Sent: Tuesday, March 11, 2014 12:12 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Generating a unique file name Hey Jacob, It's an app.config file that's part of the installation, so a major upgrade wi

Re: [WiX-users] Generating a unique file name

2014-03-11 Thread Soren Dreijer
ay, March 10, 2014 8:58 PM > To: General discussion about the WiX toolset. > Subject: Re: [WiX-users] Generating a unique file name > > Hi Harold, > > Then we're back to doing a custom action, though, which means I can do > anything I want, including calling GetTempFile

Re: [WiX-users] Generating a unique file name

2014-03-11 Thread Harold Wood (H10 Capital)
Yes..ahh well -Original Message- From: Soren Dreijer [mailto:dreijer+l...@echobit.net] Sent: Monday, March 10, 2014 6:58 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Generating a unique file name Hi Harold, Then we're back to doing a custom action, t

Re: [WiX-users] Generating a unique file name

2014-03-11 Thread Hoover, Jacob
8:58 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Generating a unique file name Hi Harold, Then we're back to doing a custom action, though, which means I can do anything I want, including calling GetTempFilePath() directly. :) Cheers, Soren On Mon, Mar 10,

Re: [WiX-users] Generating a unique file name

2014-03-10 Thread Soren Dreijer
n Dreijer [mailto:dreijer+l...@echobit.net] > Sent: Monday, March 10, 2014 5:45 PM > To: General discussion about the WiX toolset. > Subject: Re: [WiX-users] Generating a unique file name > > Hi Rob, > > As far as I can tell from the docs ( > http://msdn.microsoft.com/en-us/l

Re: [WiX-users] Generating a unique file name

2014-03-10 Thread Harold Wood (H10 Capital)
en Dreijer [mailto:dreijer+l...@echobit.net] Sent: Monday, March 10, 2014 5:45 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Generating a unique file name Hi Rob, As far as I can tell from the docs ( http://msdn.microsoft.com/en-us/library/aa372079%28v=vs.85%29.aspx),

Re: [WiX-users] Generating a unique file name

2014-03-10 Thread Soren Dreijer
onday, March 10, 2014 3:38 PM > To: General discussion about the WiX toolset. > Subject: Re: [WiX-users] Generating a unique file name > > > I don't know how you would go about Randomizing the Names, but as long > > as the DestinationName contains a name different from t

Re: [WiX-users] Generating a unique file name

2014-03-10 Thread Rob Mensching
: General discussion about the WiX toolset. Subject: Re: [WiX-users] Generating a unique file name > I don't know how you would go about Randomizing the Names, but as long > as the DestinationName contains a name different from the SourceName > the file name will be different

Re: [WiX-users] Generating a unique file name

2014-03-10 Thread Soren Dreijer
> I don't know how you would go about Randomizing the Names, but as long > as the DestinationName contains a name different from the SourceName > the file name will be different after the copy completes. Yes, that's pretty much the point of DestinationName. :) What I'm looking for, however, is a w

Re: [WiX-users] Generating a unique file name

2014-03-10 Thread Carter Young
I don't know how you would go about Randomizing the Names, but as long as the DestinationName contains a name different from the SourceName the file name will be different after the copy completes. Quote: SourceName: If this attribute is not specified (and this element is not nested under a

Re: [WiX-users] Generating a unique file name

2014-03-10 Thread Soren Dreijer
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, Ca

Re: [WiX-users] Generating a unique file name

2014-03-10 Thread Carter Young
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 : > 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