Hi All, I am running into an interesting problem that hopefully someone here 
can shed some light on. I generated an MSP successfully and I was able to 
verify through Orca that all files will be patched as expected. However, when I 
apply the patch to an actual installation, the files are not being replaced!!

Here's an overview on how my MSIs are authored. I thought it is easier to give 
you an idea this way than explaining it in words.

RTM                       CU1(non-Wix)                   CU2 (Wix)
--------                   ------------------                  -------------
C1/F1                    C1/F1'                                   C1/F1'
C2/F1                    C2/F1'                                   C2/F1'
                                C3/F1(key)                          C3/F1'
                                C3/F2                                    C3/F2'

C is a component, F is a file and the character ' is an update to the 
corresponding file's earlier version. Also, notice that the component C3 was 
added to CU1 with multiple files in it (does not follow WIX best practice but 
WIX was not even considered for patching at that time).

So, when I authored patch WXS file using WIX, I made sure to include all the 
C1, C2 and C3 components in a PatchFamily using the ComponentRef element. Once 
the MSP is generated using RTM as baseline, I am able to apply the patch 
successfully on RTM build. However, when I try it on a CU1 installation, the 
install finishes without any errors but does not replace file C3/F2 although it 
replaces C3/F1 - which is the key.

1.       Isn't WIX supposed to patch files in a component if the key file is 
modified?

2.       Is there a way to supersede a non-Wix generated QFE like CU1 through 
WIX generated patch like CU2?


Thanks,

Sharat Janapareddy
~ 40269

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to