?
-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's an app.config file that's part
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 might include a colon, such as 18:57:00, which isn't a
valid file name on Windows.
Cheers
?
-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's an app.config file that's part
?
-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's an app.config file that's part
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, 2014 at 6:00 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, 2014 at 6:00
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, though
: 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
will remove it and I'd
, then an upgrade
shouldn'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,
Then we're back to doing a custom
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's an app.config file that's part
[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
will remove it and I'd like to make
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 will remove it and I'd like to make sure it's persisted so that I
can migrate it as part of the upgrade flow
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 will remove it and I'd like to make sure it's persisted so that I
can migrate it as part
: 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
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 will remove
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,
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
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,
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
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 way
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 the SourceName
the file name will be different after the copy completes
, 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 the SourceName
the file name will be different after
[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), the format
: 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), the
format of the time might include a colon
24 matches
Mail list logo