Take a look at the <RemoveFile> element. It will get rid of existing
files before the new files are copied in to place. Might help in this
situation.

Chad

-----Original Message-----
From: Thomas Singer [mailto:w...@regnis.de] 
Sent: Wednesday, November 04, 2009 10:13 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Update fails if files have been modified

We are using Wix to install our (Java) application. Updating works fine,
even launched application (and service) are handled gracefully.

For providing users who report bugs a very quick bug-fix build we offer
a
plain zip file containing just the replaced few binary (.jar) files
which
they can replace themself in the installed application (we don't want to
create a separate installer for several reasons). Unfortunately, if such
binaries are replaced, the official next update Wix-based release (full
bundle which will not require a previous installation) will NOT replace
them
with the new files. It looks like Wix automatically detects that the
files
were changed (by content or file time?) and then rejects to remove them
when
updating or uninstalling.

What is the easiest way to tell Wix to uninstall/update the replaced
files, too?

Thanks in advance,
Tom

------------------------------------------------------------------------
------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day 
trial. Simplify your report design, integration and deployment - and
focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to