Details
Description
I created installer for my program, and after installation successfully done, invoking
maintenancetool.exe --checkupdates
invokes elevated process on its ending.
and started process (maintenancetool.exe --startserver) keep remain.
(The checkupdates task was invoked by an user who has Administrator rights.)
This was caused by destructor of PackageManagerCore class.
At the destruction(created as local instance of UpdateChecker::check() method), PackageManagerCore create VerboseWriterAdminOutput, and write() method of this class invokes "elevated process".
and this process remain running in the system.