I am working on an installer where I tried to add an execution of a custom action. I wanted the CA to be executed before the installFiles step but yet it the CA was called after the files was installed, which is too late. So I replaced the CA call to the right place according to the specifications but the CA was still called on the old moment as well, even though I replaced it. I couldn't figure out why the CA was still called on the old moment and in the attempt to fix it, I did a complete rollback, removing the CA on all places and also remove the CA itself. I even did a complete undo on all the code changes after I shelved them (we are using source control) and still the CA is called but since the CA doesn't exists anymore, it now gives an error with the code/number 2721, stating the CA failed to execute because it could not be found in the binaries.
I checked and searched (find all in visual studio) the code several times now but I cannot find the code part which tries to execute the CA. And given the fact that I did a complete undo on all my code changes, there shouldn't be any location. Yet the installer keeps on trying to execute the CA. To check if I am executing the right installer I even changed the text of a label and I see the text changed so I am executing the right installer.
My wildest guess is there is some weird partly caching going on but I have no clue if this is actually happening and how to figure it out. Did anyone else have this issue? Can anyone point me in the right direction for how to fix this issue?