Please find below a sample script to setup Project Server 2007 using the command line (without using the WSS Central Admin pages):
To run the script below, change its extension to Stsadm_To_Configure_EPM2007.BAT and run it on the server where you are planning to configure Project Server (it assumes you have already installed the binaries, the WSS Farm has been configured and the Project Server service has been started).
The script will do the following:
To get help of STSADM command line arguments type the following:
stsadm –help actionname or stsadm –help projcreatepwainstance
The following whitepaper was published: Planning and deploying Microsoft® Office SharePoint® Server 2007
Thanks to Janus Morthorst IT Architect at Progressive IT (also thanks to Brian Smith for contributing