Classification: General Business So I would use: <util:PermissionEx User="[WIX_ACCOUNT_NETWORKSERVICE]" GenericWrite="yes" GenericRead="yes" /> ??
Steve [Latest TITUS News!]<http://www.titus.com/TMCPolicy_footer_link_landingpage.php> This message has been marked as General Business by Steven Ogilvie on November-12-14 12:10:52 PM. The above classification labels were added to the message by TITUS Message Classification. For more information visit www.titus.com<http://www.titus.com/>. From: John Cooper-2 [via Windows Installer XML (WiX) toolset] [mailto:ml-node+s687559n7597875...@n2.nabble.com] Sent: November-12-14 12:08 PM To: Steven Ogilvie Subject: Re: [SPAM] Re: setting permissions when creating folder... These properties in the Util extension may also be useful: <Fragment> <Property Id="WIX_ACCOUNT_LOCALSYSTEM" Secure="yes" /> <CustomActionRef Id="WixQueryOsWellKnownSID" /> </Fragment> <Fragment> <Property Id="WIX_ACCOUNT_LOCALSERVICE" Secure="yes" /> <CustomActionRef Id="WixQueryOsWellKnownSID" /> </Fragment> <Fragment> <Property Id="WIX_ACCOUNT_NETWORKSERVICE" Secure="yes" /> <CustomActionRef Id="WixQueryOsWellKnownSID" /> </Fragment> <Fragment> <Property Id="WIX_ACCOUNT_ADMINISTRATORS" Secure="yes" /> <CustomActionRef Id="WixQueryOsWellKnownSID" /> </Fragment> <Fragment> <Property Id="WIX_ACCOUNT_USERS" Secure="yes" /> <CustomActionRef Id="WixQueryOsWellKnownSID" /> </Fragment> <Fragment> <Property Id="WIX_ACCOUNT_GUESTS" Secure="yes" /> <CustomActionRef Id="WixQueryOsWellKnownSID" /> </Fragment> -- John Merryweather Cooper Senior Software Engineer | Enterprise Service Applications | Continuing Development Jack Henry & Associates, Inc.® | Lenexa, KS 66214 | Ext: 431050 |[hidden email]</user/SendEmail.jtp?type=node&node=7597875&i=0> -----Original Message----- From: Phill Hogland [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=7597875&i=1>] Sent: Wednesday, November 12, 2014 10:59 AM To: [hidden email]</user/SendEmail.jtp?type=node&node=7597875&i=2> Subject: [WiX-users] [SPAM] Re: setting permissions when creating folder... Use the Well-Known SID to look up the localized name for built-in accounts. I think the C# code would look like this: string aSID = new SecurityIdentifier(WellKnownSidType.LocalServiceSid, null).ToString(); string domain_localService = new System.Security.Principal.SecurityIdentifier(aSID).Translate(typeof(System.Security.Principal.NTAccount)).ToString(); this._localServiceName = domain_localService.Split('\\').Last(); Your post made me realize that I probably have the same issue in one of my setups. Thanks. I adapted the above code from similar code used to look up another localized built-in account, and have yet to test this particular change. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/setting-permissions-when-creating-folder-tp7597867p7597871.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list [hidden email]</user/SendEmail.jtp?type=node&node=7597875&i=3> https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list [hidden email]</user/SendEmail.jtp?type=node&node=7597875&i=4> https://lists.sourceforge.net/lists/listinfo/wix-users ________________________________ If you reply to this email, your message will be added to the discussion below: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/setting-permissions-when-creating-folder-tp7597867p7597875.html To unsubscribe from setting permissions when creating folder..., click here<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7597867&code=U3RldmVuLk9naWx2aWVAdGl0dXMuY29tfDc1OTc4Njd8ODU3MjA0NTIw>. NAML<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> image001.png (6K) <http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/attachment/7597876/0/image001.png> -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/RE-SPAM-Re-setting-permissions-when-creating-folder-GB-tp7597876.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users