Thanks, tried that but it's failing like so: ExecSecureObjects: Error 0x80070424: failed to get security info for object: KeyService
That error message code is "The specified service does not exist as an installed service." Now, "KeyService" is the ServiceInstall/@Id, not the ServiceInstall/@Name, which is "LMKS". Reading the SecureObj.cpp source, this message is due to a failure of ::GetNamedSecurityInfoW. I changed the ServiceInstall/@Id to be the same as ServiceInstall/@Name and it started to work. I think the service name needs to be passed in through custom action data, and that this is a bug. -----Original Message----- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Thursday, January 08, 2009 1:26 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Privileged custom actions Jeremy Lew wrote: > The service is not installed in the GAC. I was researching #2 already > but haven't yet been able to figure out how to set service-specific > permissions using Permission. > PermissionEx as a child of ServiceInstall. (The stock LockPermissions table doesn't support services, I believe.) -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------ ------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users