Postgres Automated Install
It doesn't look like the one-click installer does this directly (see http://www.enterprisedb.com/resources-community/pginst-guide#noninteractive) but if you are calling this from another installer, you could start up the db afterwards and call createdb on it.

I assume you are trying to install from an installer for another program.  if so that's how I would do it.