How can I create Package and install component on MTS using script?

Thanks.