Correct the bug for generating intall package