Ecco un interessante post che spiega come debuggare le Custom Actions nei progetti di installazione.