Incidentally, the deployment dialogs within the DDT are included in the DBEngine.dll so you don't even have to write a UI... just a program that will call the MDDeployMain will get you there.