[core] Installation program logics and security update