Amol wrote:
> I have the following CreateFolder element under my Component Element for a
> service that needs to run as NetworkService.
> The install fails with an error message about not being able to find the SID
> for "NT AUTHORITY\NetworkService". Since the service does install fine
> without this element, i find that hard to believe.
>
SecureObj translates several names into well-known SIDs. It doesn't use
the NT AUTHORITY "domain" so just leave that part off. Here's the code
for NetworkService:
else if (!*pwzDomain && 0 == lstrcmpW(pwzUser, L"NetworkService"))
{
hr = AclGetWellKnownSid(WinNetworkServiceSid, &psid);
}
--
sig://boB
http://bobs.org
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users