If your un-versioned files are not modified by the user (or your application)
then you do not need to worry. The windows installer will overwrite older
files with newer ones.

See http://blogs.msdn.com/b/astebner/archive/2005/08/30/458295.aspx for
details on how it handles versioned/un-versioned files.

If your application does alter these files then you should be questioning
whether a patch should be overwriting these files anyway as user data will be
lost.

-----Original Message-----
From: Sergey [mailto:sh0...@gmail.com] 
Sent: 08 February 2012 12:01
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] msp patch does not update one of files

What is the easiest/fastest way to prepare versioned binary file, used only
for patching support?
I need hundreds of such files to be companion files for each of unversioned
file. So it must be as small in size, as possible.

In general only version from resources of this file is needed.
It may contain no code, only resource with version.


07.02.2012 18:13, John Cooper wrote:
> I set some of my unversioned files as CompanionFile's to versioned
binaries.  That way, if the versioned binary changes version, the
CompanionFiles are replaced too.  That changes the installer behavior.  Then
I author my PatchFamily to include the files I want in the patch.
>
> Usually, my un-versioned companion files don't show up as changes except in
a major upgrade though.  The only files I've included in a patch so far are
all versioned binaries.
>
> --
> John Merryweather Cooper
> Build&  Install Engineer – ESA
> Jack Henry&  Associates, Inc.®
> Shawnee Mission, KS  66227
> Office:  913-341-3434 x791011
> jocoo...@jackhenry.com
> www.jackhenry.com
>
>
>
>
> -----Original Message-----
> From: Sergey [mailto:sh0...@gmail.com]
> Sent: Tuesday, February 07, 2012 3:13 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] msp patch does not update one of files
>
> Is there a way to tune msp patch, so that all non-versioned filles (or all
files, if possible), this patch contains, would 100% overwrite files on disk
while patching?
>
> 01.02.2012 20:46, Blair wrote:
>> With the very same base MSI view installed with the very same options, and
the very same patch applied to it, variations of application would most
likely then be due to the file versioning rules (usually non-versioned files
that are written/touched outside of the InstallFiles action).
>>
>> Everything done to an installation is significant when trying to reproduce
behavior. That is part of the reason verbose logging every time during
development&testing is so important ... to help with the forensics of what's
happening.
>>
>> Blair
>>
>> -----Original Message-----
>> From: Sergey [mailto:sh0...@gmail.com]
>> Sent: Tuesday, January 31, 2012 10:40 PM
>> To: General discussion for Windows Installer XML toolset.
>> Subject: Re: [WiX-users] msp patch does not update one of files
>>
>> This behaviour is not stable. When I removed everything and repeated test
again - file patched. This makes me frightened that on some clients' machines
patch will work ok, but on some will fail. It is the worst variant, when I
can not reproduce bug on my PC.
>>
>> 30.01.2012 21:46, Wilson, Phil пишет:
>>> And in the verbose log, see if there are any SELMGR entries. They
indicate that you've broken component rules during a patch by deleting a
component. Otherwise look at the log to see what it says about that
particular file and why it didn't replace it.
>>> Phil W
>>>
>>> -----Original Message-----
>>> From: Fyodor Koryazhkin [mailto:fyodor...@gmail.com]
>>> Sent: Sunday, January 29, 2012 12:11 AM
>>> To: wix-users@lists.sourceforge.net
>>> Subject: [WiX-users] msp patch does not update one of files
>>>
>>> Hi,
>>> To find out why file is not being updated you can do the following:
>>> 1. Examine log file.
>>> 2. Apply patch to the target image at design time:
>>>       a. Open target image in ORCA
>>>       b. Open Transforms ->    View Patch
>>>       c. All changed tables, rows and columns will be marked in green
rectangle
>>>       d. Check version, sequence and language for suspicious file.
>> ---------------------------------------------------------------------
>> -
>> -------- Keep Your Developer Skills Current with LearnDevNow!
>> The most comprehensive online learning library for Microsoft developers is
just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro
Style Apps, more. Free future releases when you subscribe now!
>> http://p.sf.net/sfu/learndevnow-d2d
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
>> ---------------------------------------------------------------------
>> -
>> -------- Keep Your Developer Skills Current with LearnDevNow!
>> The most comprehensive online learning library for Microsoft 
>> developers is just $99.99! Visual Studio, SharePoint, SQL - plus 
>> HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you
subscribe now!
>> http://p.sf.net/sfu/learndevnow-d2d
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
> ----------------------------------------------------------------------
> -------- Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers is
just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro
Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> NOTICE: This electronic mail message and any files transmitted with it 
> are intended exclusively for the individual or entity to which it is 
> addressed. The message, together with any attachment, may contain
confidential and/or privileged information.
> Any unauthorized review, use, printing, saving, copying, disclosure or 
> distribution is strictly prohibited. If you have received this message 
> in error, please immediately advise the sender by reply email and delete
all copies.
> ----------------------------------------------------------------------
> -------- Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft 
> developers is just $99.99! Visual Studio, SharePoint, SQL - plus 
> HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you
subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users

-----------------------------------------------------------------------------
-
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers is
just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro
Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
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.
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to