[AS7-462] add cumulative type
[AS7-462] properly track installation state as part of the history