Simon Burgess-2 wrote: > > <CreateFolder> > <Permission User="NT AUTHORITY\NetworkService" > GenericRead="yes" GenericWrite="yes" /> > </CreateFolder> > > > > But now, the service does not have enough permissions to start, not least > because setting the permission as I have done above gets rid of all > existing > permissions on that directory. Is there a way to add to permissions that > already exist in a directory? >
You need to add Extended="yes" to the Permission element, otherwise the LockPermission table of the Windows Installer will overwrite the current permissions of the directory. >From the helpfile: "Specifies whether or not to use the LockPermissions table when the Permission element is nested under a Registry, File, or CreateFolder element. If Extended is set to 'yes' then the WiX SecureObject custom action will be used to lock down the resource instead of the "legacy" LockPermissions table. Specifying 'yes' for this attribute will require you to link your MSI with the wixca.wixlib. By using the SecureObject custom action you can apply permissions for many more well known user SIDs as well as for user accounts that are created as part of the install." -- View this message in context: http://www.nabble.com/Permissions-for-a-windows-service-tf2235547.html#a6322913 Sent from the wix-users forum at Nabble.com. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users