VS 2005 help file on topic "Walkthrough: Creating a Custom Action" is missing a required step. To get around .InstalState error you need step 5 of "To add the custom action" which says to add Project Output into Install node of the Custom Actions Editor also. That info was missing from VS installed help files.