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

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

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 prob

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 giving

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

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

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

2011-04-14 Thread Kevin Burton
If you really need to do it then you set File@DefaultVersion to a valid file version. Dave -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 f

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

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

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

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'

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

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

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: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WiX

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

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

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

2011-04-13 Thread Chad Petersen
uyseasons.com] Sent: 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 but on uninstall. This gave me the same "error" do you usually specify "both" for this kind of situation

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

2011-04-13 Thread Kevin Burton
] 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,, VerifyMedia=1,CheckCRC=0,,,InstallMode=58982400

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

2011-04-13 Thread Kevin Burton
n [mailto:chad.peter...@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 eleme

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

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

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

2011-04-13 Thread Kevin Burton
2:05 PM 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 f

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

2011-04-13 Thread Chad Petersen
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 some of these types of issues. Not positive it's what you'll want, but maybe. -Original Message-