I develop and maintain a basic MSI installer.
Since the beginning of time, we have had a CA that is tied to a checkbox on the SetupCompleteSuccess dialog and if it is checked the CA runs when the "Finish" button is clicked. This CA launches the configuration tool(exe) for our application.
This has worked great until we began trying to support Windows Server 2012. On Windows Server 2012 when this CA runs it returns 1631, which is a service failed to start error. I'm assuming this is due to the fact that the Windows Installer service is in the process of exiting when "Finish" is pressed. I did several searches and found a few references to this problem. The general consensus seemed to be that the solution should be to set the custom action to deferred but I could find no report of this resolving the issue.
So I went ahead and tried it anyway and ended up with getting an Internal Error 2762. Searching this up I found an almost exact description of my problem from 13 years ago (https://groups.googl...ral/ZdJ6-33wAfw). The respondent to this post is none other than Stefan Krueger himself who's solution was to run the CA as an immediate action because SetupCompleteSuccess is too late to run deferred actions.
So at this point I'm not sure what to do. It doesn't seem like running as a deferred action or an immediate action will work. Any solutions or ideas for alternative approaches would be greatly appreciated.