Rule for unversioned files is that if a file is modified after creation then
it will not be overwritten. This is with the rationale that if a user has
modified it then it should be left undisturbed.
--
View this message in context:
[mailto:umesh_jogle...@hotmail.com]
Sent: Thursday, April 14, 2011 2:48 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] WiX force copy file.
Rule for unversioned files is that if a file is modified after creation then it
will not be overwritten. This is with the rationale that if a user has
Change REINSTALLMODE property.
-Original Message-
From: Kevin Burton [mailto:kev...@buyseasons.com]
Sent: Thursday, April 14, 2011 4:26 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] WiX force copy file.
How do I mark a file 'versioned' so
But won't that affect all files? I just want to overwrite this one file.
-Original Message-
From: maksim.vazhe...@emc.com [mailto:maksim.vazhe...@emc.com]
Sent: Thursday, April 14, 2011 7:40 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] WiX force copy file.
Change
-
From: Kevin Burton [mailto:kev...@buyseasons.com]
Sent: 14 April 2011 14:06
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] WiX force copy file.
But won't that affect all files? I just want to overwrite this one file.
-Original Message-
From
-Original Message-
From: Kevin Burton [mailto:kev...@buyseasons.com]
Sent: 14 April 2011 14:06
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] WiX force copy file.
But won't that affect all files? I just want to overwrite this one file.
-Original Message
...@sdl.com]
Sent: Thursday, April 14, 2011 8:48 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] WiX force copy file.
You can version lie, buts its usually not a good idea as the file will get
replaced every time the installation is run (it's what installshield does
I have faced this problem sometime back and I had tried several approaches
based on what others had suggested. I will enumerate them here but I was not
successful in solving this (Perhaps I was committing other errors).
1. Simulate installshield's 'always Overwrite' attribute. You can try
Can't you just use XMLFile@PreserveModifiedDate in that case?
-Original Message-
From: Kevin Burton [mailto:kev...@buyseasons.com]
Sent: 14 April 2011 15:04
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] WiX force copy file.
Part of the problem I
for Windows Installer XML toolset.
Subject: Re: [WiX-users] WiX force copy file.
Can't you just use XMLFile@PreserveModifiedDate in that case?
-Original Message-
From: Kevin Burton [mailto:kev...@buyseasons.com]
Sent: 14 April 2011 15:04
To: General discussion for Windows Installer XML toolset
Here is the situation. I have a configuration file that on installation in
release mode I use the XmlFile task to remove a section of the file. In debug I
also use XmlFile to modify one of the elements in the file. Is what I am
finding is that if I do a release installation followed by a debug
-
From: Kevin Burton [mailto:kev...@buyseasons.com]
Sent: Wednesday, April 13, 2011 11:37 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] WiX force copy file.
Here is the situation. I have a configuration file that on installation
in release mode I use the XmlFile task to remove
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] WiX force copy file.
Check a verbose log file and it should say why it is not replacing that file.
Typically because it is newer than the file you hope to replace it with.
The RemoveFile element can be handy
for Windows Installer XML toolset.
Subject: Re: [WiX-users] WiX force copy file.
The log file looks like:
MSI (s) (6C:EC) [13:54:36:297]: Executing op:
FileCopy(SourceName=dfl-c3lj.con|app.Config,SourceCabKey=FILE_ServiceApp
Config,DestName=app.Config,Attributes=512,FileSize=32206,PerTick=32768
...@harlandfs.com]
Sent: Wednesday, April 13, 2011 2:25 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] WiX force copy file.
Yes. I run into this with text files (xml mostly) a lot. RemoveFile can go
under the same Component as the File element. That's the way
discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] WiX force copy file.
The log file looks like:
MSI (s) (6C:EC) [13:54:36:297]: Executing op:
FileCopy(SourceName=dfl-c3lj.con|app.Config,SourceCabKey=FILE_ServiceApp
Config,DestName=app.Config,Attributes=512,FileSize=32206
: Wednesday, April 13, 2011 12:37 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] WiX force copy file.
I add RemoveFile but on uninstall. This gave me the same error do
you usually specify both for this kind of situation?
Kevin Burton
Senior Software Engineer
...@buyseasons.com]
Sent: Wednesday, April 13, 2011 12:54 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] WiX force copy file.
I cannot seem to get RemoveFile to work. Here is my latest attempt:
Component Id=CMP_WpfAppConfig Guid=*
Directory=WPFINSTALLDIR
18 matches
Mail list logo