i guess i should have qualified this a little more since you have to look
fairly deep in the source code provided by the ms web site link that i
cited.
you can do this only w/n vs.net 2003 afaik b/c it has an installer class
template. you'd simply select this template and add it to your regular
project.
your custom install class will inherit from
system.configuration.install.installer (namespace doesn't appear in
2002)...like this:
<RunInstaller(True)>Pulic Class Installer
Inherits System.Configuration.Install.Installer
' the template addes code here...you don't have to muck w/ it though
' insert code from previous post here
End Class
lemme know if it works for you.
hth,
steve