Is there a way in Windows installer using which I can log the action that failed the installation. I want to send this data to my server via a POST call. For example if a custom action failed I want to log the name of the custom action and the return value.

Please note that I am not talking about MSI logs here. Is there a way using which I can send concise information about what action made the installation to terminate?

0 Comments   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity



Why would you like to do this, the windows installer log AND eventvwr are both recording any issues during the sequences.  If you want to be sure that custom actions are transmitting data to a server, you will need to script this in the CA.

It is also possible to create "RollBack actions" that will do the communication WHY a failure has occured.   

Info about Rollback Actions:


Answered 01/29/2013 by: jaybee96
Red Belt

  • I have lot of small third party merged modules in my installer. I want to measure success failure rates of installations. Mostly i see that these merged modules are causes of failure.
    I am willing to write a CA that will communicate with my server but I don't know how to capture the information about the installer action that failed. A rollback CA only tells me that installation failed but it does not tell me the action that triggered the rollback.
    Please let me know if there is a way to know the action that failed along with the return value.
Please log in to comment