Hi Blair,

Thanks for your help.  When I look in my .wixmst I see the PublishComponent 
table and it has the correct value.  The value of "op" is "add" and there is no 
"previousData" attribute.  I assume this is correct, since this is a new 
component rather than a component that is being updated.

My PatchFamily contains a ComponentRef to the component which has the category 
I'm trying to update.  Here is an example of my authoring.

MSI Authoring:  
  <Component Id="CP.My.Component" Directory="DT.My.Directory" Guid="MY-GUID">
    <Category Id="My-Category-GUID" Qualifier="My-Category-Qualifier" 
AppData="!(loc.Category.Description)" />
    <File Id="FL.My.File" Name="File.exe" Source="C:\File.exe" KeyPath="yes" />
  </Component>

  <Feature Id="FT.My.Feature" Title="My Feature" Absent="disallow" 
AllowAdvertise="no" Description="My Feature" Display="collapse" 
InstallDefault="followParent" Level="1" TypicalDefault="install">
    <ComponentRef Id="CP.My.Component"/>
    <ComponentRef Id="CP.Another.Component"/>
  </Feature>


MSP Authoring:
    <PatchFamily Id='PF.My.Component' Version='$(var.ProductVersion)' 
Supersede='no'>
      <ComponentRef Id='CP.My.Component'/>
    </PatchFamily>

Thanks!

Jeff

-----Original Message-----
From: Blair [mailto:os...@live.com] 
Sent: Friday, January 29, 2010 12:34 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Category not updated with patch

Two (sets of) questions:

1. Does your PatchFamily have any children or is it empty? If it has
children, what are they?

2. Please look in your .wixmst file for the <table name="PublishComponent">
element and look for the row where the category is modified. Do you see the
new value in a field of that row? Do you see the old value in the
previousData attribute of the field? And do you see an attribute named "op"
with a value of "modify" in that row?

Just trying to isolate if the change didn't get picked up by torch or if it
was being ignored by pyro.

-----Original Message-----
From: Jeff Perrigo [mailto:jeff.perr...@microsoft.com] 
Sent: Thursday, January 28, 2010 6:08 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Category not updated with patch

Hi all,

I have a component that contains both a category and a file.  This is a new
component that didn't exist in the old MSI.  I've added this component to my
patch, and the file is getting updated correctly but the category isn't
touched.  I used Orca and applied my msp to the original MSI and verified
that the "PublishComponent" table does not get modified with the new
category.  How can I patch a category with an msp?  I understand that if I
do this my MSP can't be uninstallable.

Thanks in advance for any help.

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


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


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