Title: Setting sidtype on a service

Im installing a service and after installing it I need to set the sidtype (sc sidtype srvName UNRESTRICTED if done from the cmdline). Ive looked thru the v2.x schema on ServiceInstall and I don’t see where I can set it. Does WIX support setting this value?

The definition of SidType:

Changes the service security identifier (SID) type

setting of a service.

If this setting is "unrestricted", the Service Control

Manager (SCM) will add this service's SID to the service

process token when the service process starts the next

time due to the first service in the process being started.

This setting is valid only for Win32 user mode services.

If this setting is "restricted", the Service Control

Manager (SCM) will add this service's SID to the service

process token when the service process starts the next

time due to the first service in the process being started.

In addition, this service's SID will also be added to

the restricting SID list in the process token. The process

token will be a restricted token.  See MSDN for details on

restricted token. This setting is valid only for Win32

user mode services. In addition, for a share process service,

all services cohosted in the process must have this SID type

set for this to take effect.

If this setting is "none", the SCM will not add the service's

SID to the service process token.

Thanks

Danny Smith

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to