using InstallShield.
SQL Script save as a *.sql file (include CREATE TABLE, CREATE USER, CREATE INDEX...),then
build a *.dll file, the main function is to load the *.sql file and run the sql one by one (because installshield can calls a dll file)
COM Server (*.dll), you and view its properties with installshield, and check then
automatic register as COM Server...
maybe that is all.