Verbose log file should show you what Components are being changed. My 
bet is that your 10 unchanged Components KeyPaths are not being updated.

troy hostetter wrote:
> I am attempting to patch an existing web.config file with new web.config
> settings.  When I execute msiexec and pass in the msp file, the
> "util:XmlConfig" patches are not being applied.
>
> My Tools.v1.0.1.Patch.wxs file looks like:
>
> *<?xml version="1.0" encoding="UTF-8"?>
> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
>   <Patch
>       AllowRemoval="yes"
>       Manufacturer="Company"
>       DisplayName="v1.0.1 Patch"
>       Description="UI Patch"
>       Classification="Update"
>       >
>
>     <Media Id="5000" Cabinet="RTM.cab">
>       <PatchBaseline Id="RTM"/>
>     </Media>
>
>     <PatchFamilyRef Id="v1.0.1_PatchFamily"/>
>   </Patch>
>
>   <Fragment>
>     <PatchFamily Id='v1.0.1_PatchFamily' Version='1.0.0.0' Supersede='yes'>
>       <ComponentRef Id="C__CustomSearch.RegKey" />
>       <ComponentRef Id="C__Pursuit.Search.AppSettings" />
>       <ComponentRef Id="C__Project.Search.AppSettings" />
>       <ComponentRef Id="C__Enterprise.Search.AppSettings" />
>       <ComponentRef Id="C__Pursuit.SearchRDLWS.serviceModel" />
>       <ComponentRef Id="C__Project.SearchRDLWS.serviceModel" />
>       <ComponentRef Id="C__Enterprise.SearchRDLWS.serviceModel" />
>       <ComponentRef Id="C__Pursuit.SearchWS.serviceModel" />
>       <ComponentRef Id="C__Project.SearchWS.serviceModel" />
>       <ComponentRef Id="C__Enterprise.SearchWS.serviceModel" />
>
>       <ComponentRef Id="C__SPDeploy.exe"/>
>       <ComponentRef Id="C__SPDeploy.Tools.config"/>
>       <ComponentRef Id="C__SPDeploy.Search.config"/>
>       <ComponentRef Id="C__SPDeploy.CustomSearch.Solutions"/>
>       <ComponentRef Id="C__SPDeploy.CustomSearch.ListTemplates"/>
>     </PatchFamily>
>   </Fragment>
> </Wix>
> *
>
> The first 10 ComponentRefs are not being applied, however the last 5 are
> being applied.  As I mentioned earlier, the first 10 are util:XmlConfig ..
> the last 5 push out new files.
>
> Is there something special I need to be doing in order to patch xml using
> util:XmlConfig entries?
>
> Here's my pyro commands:
>
> *SET WiXPath="C:\Program Files\Windows Installer XML v3\bin"
> SET
> V1.0.0Path="C:\Users\x\Desktop\PatchBuild\_DeploymentStaging\Tools.Deploy\Tools.Deploy"
> SET
> V1.0.1Path="C:\Users\x\Desktop\PatchBuild\_DeploymentStaging_V1.0.1\Tools.Deploy\Tools.Deploy"
>
> %WiXPath%\torch -p -xi %V1.0.0Path%\bin\x64\Release\Tools.Deploy.wixpdb
> %V1.0.1Path%\bin\x64\Release\Tools.Deploy.wixpdb -out diff.wixmst
> %WiXPath%\candle.exe Tools.v1.0.1.Patch.wxs
> %WiXPath%\light.exe Tools.v1.0.1.Patch.wixobj -out Tools.v1.0.1.Patch.wixmsp
> %WiXPath%\pyro.exe Tools.v1.0.1.Patch.wixmsp -out Tools.v1.0.1.Patch.msp -t
> RTM diff.wixmst*
>
> I then execute the following statement to apply the patch:
>
> *msiexec.exe /p Tools.v1.0.1.Patch.msp /l*vx Tools.v1.0.1.Patch.log
> TRANSFORMS=DevEnvSettings.mst*
>
> - Troy
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables
> unlimited royalty-free distribution of the report engine
> for externally facing server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to