Oddly enough the file was the original file. I can't explain why. I did end up finding I could set the following property and this overwrites all of the files.

<Property Id='REINSTALLMODE' Value='amus'/>

Darrell



Wilson, Phil wrote:
This is confusing - the log says Overwrite, hash doesn't match source
file, and all that means that it DID replace the file on disk. If it
wasn't going to replace it you'd see something like " Won't Overwrite;
Won't patch;    Existing file is unversioned and unmodified - hash
matches source file" Phil Wilson
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Darrell
([EMAIL PROTECTED])
Sent: Friday, August 24, 2007 1:36 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Overwrite an Existing File (More Info)

Looking into this I found the following from the Windows Installer Log.

MSI (s) (BC:A8) [16:12:38:802]: Executing op: FileCopy(SourceName=iumwmdfq.con|docinfo.exe.config,SourceCabKey=config,
DestName=docinfo.exe.config,Attributes=512,FileSize=11567,PerTick=32768,
,VerifyMedia=1,,,,,CheckCRC=0,,,InstallMode=58982400,HashOptions=0,HashP
art1=-1712850835,HashPart2=1231145881,HashPart3=-146243111,HashPart4=472
064521,,)
MSI (s) (BC:A8) [16:12:38:802]: File: C:\docinfo\docinfo.exe.config; Overwrite; Won't patch; Existing file is unversioned and unmodified - hash doesn't match source file

How do I version files or tell WiX that I would like this file installed

anyways?

Darrell

darrell_list wrote:
I am moving my project from the install being just unzipping it to
being
installed through a WiX created installer package (via Visual Studio
Plug
In).
I ran into an issue where WiX will not overwrite files in the folder
with
the newer files from the installer.  Keep in mind this is not an
upgrade
since there was no installer for the last version of my program.
How can I get my WiX package to overwrite existing files if they exist
in
the folder prior to the installation?
Thanks,
Darrell


------------------------------------------------------------------------
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a
browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




--
----------------------------------
Check out http://www.invariantsystems.com for utilities for Declude, Imail, 
mxGuard, and ORF.  IMail/Declude Overflow Queue Monitoring, SURBL/URI 
integration, MRTG Integration, and Log Parsers.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to