Andy Nifong has a nice look at Creating a GP 2010 installation package.
Creating a GP 2010 installation package
Install, Upgrade & AdminGP 2010
Archived post from 2010. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.