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 believe is that because after the file is installed it
is changed with <XmlFile> tasks so WiX doesn't remove this file on uninstall.
The other files (assemblies, etc.) get removed on uninstall so I always get
what is in the .msi file. Right now <RemoveFile> works and maybe that is the
solution. Basically I want to change the file and still have it removed as
all the other files on uninstall.

Kevin Burton
Senior Software Engineer
BUYSEASONS
262-901-2000 Office
262-901-2312 Fax
kev...@buyseasons.com 


-----Original Message-----
From: David Watson [mailto:dwat...@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
when you click "always overwrite").

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

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 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 it will overwrite? Of course other than
inserting the <RemoveFile> as suggested by Chad Petersen.

Kevin Burton
Senior Software Engineer
BUYSEASONS
262-901-2000 Office
262-901-2312 Fax
kev...@buyseasons.com 

-----Original Message-----
From: Umeshj [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
modified it then it should be left undisturbed.

SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to