Re: [WiX-users] WiX force copy file.

2011-04-14 Thread Umeshj
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:

Re: [WiX-users] WiX force copy file.

2011-04-14 Thread Kevin Burton
[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

Re: [WiX-users] WiX force copy file.

2011-04-14 Thread maksim.vazhenin
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

Re: [WiX-users] WiX force copy file.

2011-04-14 Thread Kevin Burton
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

Re: [WiX-users] WiX force copy file.

2011-04-14 Thread David Watson
- 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

Re: [WiX-users] WiX force copy file.

2011-04-14 Thread Kevin Burton
-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

Re: [WiX-users] WiX force copy file.

2011-04-14 Thread Kevin Burton
...@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

Re: [WiX-users] WiX force copy file.

2011-04-14 Thread Umeshj
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

Re: [WiX-users] WiX force copy file.

2011-04-14 Thread David Watson
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

Re: [WiX-users] WiX force copy file.

2011-04-14 Thread Kevin Burton
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

[WiX-users] WiX force copy file.

2011-04-13 Thread Kevin Burton
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

Re: [WiX-users] WiX force copy file.

2011-04-13 Thread Chad Petersen
- 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

Re: [WiX-users] WiX force copy file.

2011-04-13 Thread Kevin Burton
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

Re: [WiX-users] WiX force copy file.

2011-04-13 Thread Chad Petersen
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

Re: [WiX-users] WiX force copy file.

2011-04-13 Thread Kevin Burton
...@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

Re: [WiX-users] WiX force copy file.

2011-04-13 Thread Kevin Burton
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

Re: [WiX-users] WiX force copy file.

2011-04-13 Thread Chad Petersen
: 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

Re: [WiX-users] WiX force copy file.

2011-04-13 Thread Chad Petersen
...@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