I had a very simmilar problem.
I made the "Walkthrough: Creating a Custom Action"
However I got the same problem if I did not also connect the "Primary Output from OpenWeb" to Custom Actions INSTALL.
If I did this once! and compiled the problem disapeared and I could remove the Primary Outputput from Install and only have the Commit.