Look at the code generated behind the Project Installer. Add this in
Public Overrides Sub Install(ByVal stateSaver As
System.Collecti ons.IDictionary )
MyBase.Install( stateSaver)
Dim oKey As RegistryKey
Dim sValue As Object
Try
oKey = Registry.LocalM achine.OpenSubK ey("SYSTEM\Curr entControlSet\S ervices\"
& Me.ServiceInsta ller1.ServiceNa me, True)
sValue = oKey.GetValue(" ImagePath")
sValue = sValue & " " & Me.ServiceInsta ller1.ServiceNa me
oKey.SetValue(" ImagePath", sValue)
oKey.SetValue(" Description", "Stick your description in here!!")
End Sub
"mdb" <m_b_r_a_y@c_t_ i_u_s_a__d0t__c om> wrote in message
news:Xn******** *************** *****@207.46.24 8.16...
When I'm using an Installer class to install my service, there doesn't
seem
to be any way to provide a description. How can I accomplish this?
-mdb