|
From: Scott S. <ss...@cl...> - 2008-12-12 15:20:53
|
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? |