Does anyone know if this is a bug or something I'm doing wrong?

-----Original Message-----
From: Rob Mensching [mailto:rob.mensch...@microsoft.com] 
Sent: Friday, December 12, 2008 2:44 PM
To: General discussion for Windows Installer XML toolset.
Cc: Heath Stewart
Subject: Re: [WiX-users] Error 2721: Custom action not found inBinary
tablestream

Heath, is this maybe related to the Binary bug you're tracking in pyro?

-----Original Message-----
From: Scott Sam [mailto:s...@clearviewecm.com]
Sent: Friday, December 12, 2008 07:27
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Error 2721: Custom action not found in Binary
tablestream

Also here is the relevant part of the log.


Action 10:11:59: RemoveCasPol.CustomActionData.
Action start 10:11:59: RemoveCasPol.CustomActionData.
MSI (s) (14:C0) [10:11:59:116]: Transforming table CustomAction.
MSI (s) (14:C0) [10:11:59:116]: Transforming table CustomAction.
MSI (s) (14:C0) [10:11:59:116]: Note: 1: 2262 2: CustomAction 3:
-2147287038
MSI (s) (14:C0) [10:11:59:116]: Skipping Action
RemoveCasPol.CustomActionData. It is being skipped as per the value
provided for OptimizeCA in MsiPatchMetadata table of an applicable patch
Action ended 10:11:59: RemoveCasPol.CustomActionData. Return value 0.
MSI (s) (14:C0) [10:11:59:117]: Doing action: RemoveCasPol
Action 10:11:59: RemoveCasPol.
Action start 10:11:59: RemoveCasPol.
MSI (s) (14:C0) [10:11:59:123]: Transforming table CustomAction.
MSI (s) (14:C0) [10:11:59:123]: Transforming table CustomAction.
MSI (s) (14:C0) [10:11:59:123]: Note: 1: 2262 2: CustomAction 3:
-2147287038
MSI (s) (14:C0) [10:11:59:123]: Note: 1: 2721 2: RemoveCasPol
DEBUG: Error 2721:  Custom action RemoveCasPol not found in Binary table
stream

-----Original Message-----
From: Scott Sam [mailto:s...@clearviewecm.com]
Sent: Friday, December 12, 2008 10:21 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Error 2721: Custom action not found in Binary
tablestream

I'm trying to create and apply a patch.  I can create the patch without
any errors or warnings. When I go to apply it I get the error "Error
2721:  Custom action RemoveCasPol not found in Binary table stream".
How can I fix this?



Here is where I declare my custom action:

<Binary Id="ManagedCAs" SourceFile="..\lib\ManagedCAs.CA.dll" />

<CustomAction Id="RemoveCasPol" BinaryKey="ManagedCAs"
DllEntry="RemoveCasPol" Execute="deferred" Return="ignore" />

<CustomAction Id="RemoveCasPol.CustomActionData" Property="RemoveCasPol"
Value="[NET11];[NET20]" />



Here is where I schedule my custom action:

<Custom Action="RemoveCasPol.CustomActionData"
Before="RemoveCasPol">Installed And REMOVE=ALL</Custom>

<Custom Action="RemoveCasPol" Before="InstallFinalize">Installed And
REMOVE=ALL</Custom>



Here is my OptimizeCustomActions element from my patch:

<OptimizeCustomActions SkipAssignment="yes" SkipDeferred="yes"
SkipImmediate="yes" />



My understanding is that the OptimizeCustomActions element should cause
all of the custom actions to be skipped, and the REMOVE=ALL condition
should keep it from being ran during patching anyways.  What am I doing
wrong?

------------------------------------------------------------------------
------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
The future of the web can't happen without you.  Join us at MIX09 to
help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.
com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------
------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
The future of the web can't happen without you.  Join us at MIX09 to
help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.
com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------
------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
The future of the web can't happen without you.  Join us at MIX09 to
help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.
com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to