Mohammad Daoud has details on how to do a silent (command line) install for Dynamics GP 10.
Silent GP Installs
Archived post from 2008. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.