View Full Version : Which Seq Fires OnUnInstalling Events

12-12-2003, 04:20 PM
I'm using Feature OnUninstalling script handlers to build a list of features that are being uninstalled. In the OnInstallFilesBeforeAction, I'm instantiating my COM server and performing some functionality to "deregister" each feature in the list from the COM server. This all works fine when I do a Modify to remove one or more features, but when I do a Remove All, IS is deregistering my COM server before the feature OnUninstalling events get fired.

Does anyone know which sequence is responsible for firing the feature OnUninstalling events?

My idea is to hopefully put a CA immediately after it to perform the COM server interaction.

12-12-2003, 05:20 PM
Some more info.

According to the docs, OnFeaturesInstalling is responsible for calling the OnInstalling and OnUninstalling event handlers.

Based on this I created a CA to talk to my COM server and put it immediately after OnFeaturesInstalling on the sequence view, BUT, the function called by my CA is executing BEFORE any of my Feature OnUninstalling event handlers.

Am I doing something wrong?

ISDev 7.0 sp4