>       <util:User Id='WorkwiseUsers' Name='Workwise' Password='pa$$$$word'/>
>       <util:FileShare Id='FileShareWorkwise' Name='WorkwiseFS'
> Description='FileShare for Workwise backend'>
>    <util:FileSharePermission GenericAll="yes" Read="yes"
> User="WorkwiseUsers" />
>       </util:FileShare>

> And that creates the folder and the file share, but only gives permissions
> to the Workwise user. The User parameter is mandatory when creating the
> FileSharePermission. How can I create the file share with reading
> permissions to everyone (not only to the Workwise user)?
>

I use:

        <CreateFolder Directory="SHAREDFOLDER" >
          <PermissionEx Id="ntPermisions_SharedFolder" Sddl="......." />
        </CreateFolder>

To get the sddl string, configure the security and network share on a target
system, and use the calc.exe tool to generate the sddl string.  Then edit
the string as desired.  I have not fully tested my string yet so I don't
want to post it just yet, but in general this approach does create a share
and seth the permissions.

And in another component, in the group
        <util:FileShare Id="sharedFolder" Name="ShareName"
Description="!(loc.RimageFolder_Description)">
          <util:FileSharePermission GenericAll="yes" User="Everyone" />
        </util:FileShare>





--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Create-file-share-with-ready-permissions-for-everyone-tp7599519p7599524.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to