Windows: Make our service part of the Base Group.
This commit is contained in:
parent
6398d22745
commit
58fc5aab46
@ -46,6 +46,8 @@ namespace sscs.init
|
|||||||
private static string SERVICE_DESCRIPTION = "Novell Identity Store is used by CASA (Common Authentication Service Adapter) "
|
private static string SERVICE_DESCRIPTION = "Novell Identity Store is used by CASA (Common Authentication Service Adapter) "
|
||||||
+ "to encypt and store credentials entered by users. These credentials can be used to authenticate to additional network services";
|
+ "to encypt and store credentials entered by users. These credentials can be used to authenticate to additional network services";
|
||||||
|
|
||||||
|
private static string SERVICE_GROUP = "Base";
|
||||||
|
|
||||||
public ProjectInstaller()
|
public ProjectInstaller()
|
||||||
{
|
{
|
||||||
// This call is required by the Designer.
|
// This call is required by the Designer.
|
||||||
@ -137,6 +139,7 @@ namespace sscs.init
|
|||||||
service = services.OpenSubKey(this.serviceInstaller1.ServiceName, true);
|
service = services.OpenSubKey(this.serviceInstaller1.ServiceName, true);
|
||||||
//Add service's description as a REG_SZ value named "Description"
|
//Add service's description as a REG_SZ value named "Description"
|
||||||
service.SetValue("Description", SERVICE_DESCRIPTION);
|
service.SetValue("Description", SERVICE_DESCRIPTION);
|
||||||
|
service.SetValue("Group", SERVICE_GROUP);
|
||||||
}
|
}
|
||||||
catch(Exception e)
|
catch(Exception e)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user