Offline package installation

I want to make a package that make me able to installe next erp offline after the modifications aI make …I just changed the template and deleted some tables in data base wich are unusefull for me.can’t you help me in that

You can use a Virtual Machine like virtualbox