Hi, Oleg!
There is the same problem in managed project with standart UI.
I click Remove button in MaintenanceTypeDialog. In BeforeInstall and AfterInstall event handlers e.IsUninstalling is false.
There is the same problem in managed project with standart UI.
I click Remove button in MaintenanceTypeDialog. In BeforeInstall and AfterInstall event handlers e.IsUninstalling is false.