Steps for Registering a Deployed Com DLL


I wonder if I could get a definitive step by step description of how to
automate the installation of a COM Dll.  Up to now, during development I
have been able to fiddle with various settings to get it to work and I am a
little fuzzy on the correct procedure to automate the
registration/installation of this in a production/commercial scenario.