properly track installation state as part of the history