Hi Blair,

Actually, the files are not bit-for-bit the same. The error message is probably 
too generic and misleading in this case.

In the case of this particular file there are no changes in code and the only 
difference is in version resource which has 4-th version number different from 
the RTM version. 

IMO, that explains why PatchSize=6113,TargetSize=100198.

This is nothing unusual considering the build system that I am using, which 
increments 4-th version number with each new build. Quite a few other files 
have the same differences - just version resource - and they don't exhibit this 
problem.

I build MSP on Server 2003 system with MSI version 3.01.4000.3959 and I create 
only Release build patches.

It seems that patch application MSI version is more important than the build 
system MSI version since patch applies without a glitch on Vista with version V 
4.5.6002.18005 MSI, while it fails on XP with MSI components version 3.01.

I guess I would have to enforce both build and application MSI versions to be 
the same (meaning I'll have to install 4.5 MSI on XP machines before staring 
install and patching process), but at this time it is just a guess.

Thanks,

Tony

-----Original Message-----
From: Blair [mailto:os...@live.com] 
Sent: Tuesday, September 01, 2009 6:20 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Patch failure on XP that doesn't happen on Vista

I assumed you verified that the files are bit-for-bit the same before
attempting to apply the patch.

Do you build your MSP on a Vista/Server 2008 system?

We saw this one time and it happened only with Release (not Debug) for just
one file, but didn't happen when building on XP/32-bit (I never investigated
building on either 64-bit XP or Server 2003). Our products were not allowed
on Server OSs but we did our official builds on them.

It seems that the PatchAPI binaries (described here:
http://msdn.microsoft.com/en-us/library/bb417345.aspx) are somehow different
and the Patch Apply routines are somehow sometimes different between
platforms.

For a workaround we had to mark that one file as "whole file" instead of
delta. It didn't happen every build, but it did happen for about two months
around one of our major releases.

-----Original Message-----
From: Tony Juricic [mailto:tjuri...@tradestation.com] 
Sent: Tuesday, September 01, 2009 2:56 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Patch failure on XP that doesn't happen on Vista

Applying the patch on one XP system produces the following error log for one
file (edited here to shorten the path to MYFILE.EXE):

MSI (s) (74:4C) [17:23:03:041]: Executing op:
CacheBaselineFile(Baseline=0,FileKey=MYFILE.EXE,FilePath=C:\Program
Files\..\ MYFILE.EXE,,Existing=0)
MSI (s) (74:4C) [17:23:03:103]: Executing op: PatchApply(PatchName=
MYFILE.EXE,TargetName=C:\Program Files\..\
MYFILE.EXE,PatchSize=6113,TargetSize=1001984,PerTick=0,,FileAttributes=512,P
atchAttributes=0,CheckCRC=0)
MSI (s) (74:4C) [17:23:03:135]: Re-applying security from existing file.
MSI (s) (74:4C) [17:23:03:197]: Note: 1: 2318 2: C:\Config.Msi\PF4D1.tmp
MSI (s) (74:4C) [17:23:03:244]: Note: 1: 2302 2: 0
MSI (s) (74:4C) [17:23:03:338]: Note: 1: 1328 2: C:\Program Files\...
MYFILE.EXE  3: -1072807676
MSI (s) (74:4C) [17:23:03:400]: Note: 1: 2205 2:  3: Error
MSI (s) (74:4C) [17:23:03:463]: Note: 1: 2228 2:  3: Error 4: SELECT
`Message` FROM `Error` WHERE `Error` = 1328
MSI (s) (74:4C) [17:23:03:494]: Note: 1: 2205 2:  3: Error
MSI (s) (74:4C) [17:23:03:541]: Note: 1: 2228 2:  3: Error 4: SELECT
`Message` FROM `Error` WHERE `Error` = 1709
MSI (s) (74:4C) [17:23:03:619]: Product: MYProd  Error 1328. Error applying
patch to file C:\Program Files\..\ MYFILE.EXE .  It has probably been
updated by other means, and can no longer be modified by this patch.  For
more information contact your patch vendor.  System Error: -1072807676

However, applying the same patch on the same RTM on Vista computer works
without any trouble.

What more can I do to attempt to diagnose the source of the problem?

TradeStation Group, Inc. is a publicly-traded holding company (NASDAQ GS:
TRAD) of three operating subsidiaries, TradeStation Securities, Inc. (Member
NYSE, FINRA, SIPC and NFA), TradeStation Technologies, Inc., a trading
software and subscription company, and TradeStation Europe Limited, a United
Kingdom, FSA-authorized introducing brokerage firm. None of these companies
provides trading or investment advice, recommendations or endorsements of
any kind. The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential and/or
privileged material. Any review, retransmission, dissemination or other use
of, or taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.
----------------------------------------------------------------------------
--
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




TradeStation Group, Inc. is a publicly-traded holding company (NASDAQ GS: TRAD) 
of three operating subsidiaries, TradeStation Securities, Inc. (Member NYSE, 
FINRA, SIPC and NFA), TradeStation Technologies, Inc., a trading software and 
subscription company, and TradeStation Europe Limited, a United Kingdom, 
FSA-authorized introducing brokerage firm. None of these companies provides 
trading or investment advice, recommendations or endorsements of any kind. The 
information transmitted is intended only for the person or entity to which it 
is addressed and may contain confidential and/or privileged material. Any 
review, retransmission, dissemination or other use of, or taking of any action 
in reliance upon, this information by persons or entities other than the 
intended recipient is prohibited. If you received this in error, please contact 
the sender and delete the material from any computer.

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