You are specifying REINSTALL=<something>, right? That makes a difference.

Phil Wilson 


-----Original Message-----
From: Daniel Pratt [mailto:colorblind...@gmail.com] 
Sent: Monday, August 08, 2011 3:20 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] File is not overwritten despite all evidence and logic 
to the contrary

Thanks for the reply, Phil.

In this case, REINSTALLMODE=vamus. I started with REINSTALLMODE=vomus, but
attempted to correct the problem by forcing the installer to overwrite all
files regardless (per my interpretation of 'a' vs 'o'). Incidentally, the
bit about "...REINSTALLMODE specifies all files to be overwritten..." only
appeared when using REINSTALLMODE=vamus.

I am wondering if I am misunderstanding what 'v' means to REINSTALLMODE and
whether it may make a difference in this case.

On Mon, Aug 8, 2011 at 6:00 PM, Wilson, Phil <phil.wil...@invensys.com>wrote:

> One of these will apply, depending on whether the files are hashed (I think
> they are by default).
>
> http://msdn.microsoft.com/en-us/library/aa370532(v=VS.85).aspx
>
> I have a suspicion that the log doesn't report that it won't overwrite a
> modified file, and also you didn't say what your REINSTALLMODE string
> actually was.
>
> Phil Wilson
>
>
> -----Original Message-----
> From: Daniel Pratt [mailto:colorblind...@gmail.com]
> Sent: Monday, August 08, 2011 1:30 PM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] File is not overwritten despite all evidence and logic
> to the contrary
>
> When reinstalling the latest version of a particular installation package
> over an earlier version, some files are not being updated (overwritten) by
> the installer, despite all evidence and logic to the contrary. This is
> taken
> from the log:
>
>
> MSI (s) (24:58) [14:19:27:090]: File: C:\Program Files\...\Report
> Definitions\Course Demographics Report.rdl; Overwrite; Won't patch;
> REINSTALLMODE specifies all files to be overwritten
> MSI (s) (24:58) [14:19:27:090]: Source for file
> 'fil1A0D420C18871D13362FD2189A753C67' is uncompressed, at
>
> 'C:\Windows\Installer\$PatchCache$\Managed\E0EBAC857F0FC4949A9EF21E1014B912\10.1.15\'.
> InstallFiles: File: Course Demographics Report.rdl,  Directory: C:\Program
> Files\...\Report Definitions\,  Size: 50907
>
> My reading of the log is that the file in question will be overwritten from
> the installation package, but it isn't. Oddly, the file size referenced
> above (50907) is exactly the file size of the version in the installation.
> But when the installation has completed, the file on disk still has the old
> size (and modified date).
>
> Why is this file (and other files) not actually overwritten and how do I
> correct the problem?
>
> Thanks much,
>
> Daniel
>
> ------------------------------------------------------------------------------
> BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts.
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> *** Confidentiality Notice: This e-mail, including any associated or
> attached files, is intended solely for the individual or entity to which it
> is addressed. This e-mail is confidential and may well also be legally
> privileged. If you have received it in error, you are on notice of its
> status. Please notify the sender immediately by reply e-mail and then delete
> this message from your system. Please do not copy it or use it for any
> purposes, or disclose its contents to any other person. This email comes
> from a division of the Invensys Group, owned by Invensys plc, which is a
> company registered in England and Wales with its registered office at 3rd
> Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For
> a list of European legal entities within the Invensys Group, please go to
> http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77
> .
>
> You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail
> recept...@invensys.com. This e-mail and any attachments thereto may be
> subject to the terms of any agreements between Invensys (and/or its
> subsidiaries and affiliates) and the recipient (and/or its subsidiaries and
> affiliates).
>
>
>
>
> ------------------------------------------------------------------------------
> uberSVN's rich system and user administration capabilities and model
> configuration take the hassle out of deploying and managing Subversion and
> the tools developers use with it. Learn more about uberSVN and get a free
> download at:  http://p.sf.net/sfu/wandisco-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 
7AW (Registered number 166023). For a list of European legal entities within 
the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
recept...@invensys.com. This e-mail and any attachments thereto may be subject 
to the terms of any agreements between Invensys (and/or its subsidiaries and 
affiliates) and the recipient (and/or its subsidiaries and affiliates).



------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to