The util:FileSharePermission element has many attributes for setting ACLs on
a file share, but none of them seem to work except for GenericAll. For
example, the following code will not give the user the specified 
permissions:

<Component Id="cmpFileShare" Guid="{6974184A-1F4F-4FBB-ADA6-826E9C947A7C}"
KeyPath="yes">
        <util:User Id="everyoneUser" Name="Everyone" CreateUser="no" />
        
        
        <util:FileShare Id="myFileShare" Description="Shares some stuff"
Name="MyShare">
          <util:FileSharePermission User="everyoneUser"
ChangePermission="yes" GenericRead="yes" />
        </util:FileShare>
</Component>

I am installing to Windows 7 as a local administrator user. The user is
added to the list of users on the file share, but no permissions checkboxes
are checked. I've tried all of the other attributes and have gotten the same
result. The only one that works is GenericAll. Have others seen this
problem? I didn't see any messages related to the file share in the install
log.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/FileSharePermission-only-GenericAll-works-tp7595747.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to