WiX: How to create a shared resource for all users?

I use WiX to create the installer and want to share the folder during the installation process. I would like to grant permission to all users. I am using the following snippet:

<util:FileShare Id="MYSHARE" Name="MyShare" Description="Description of MyShare">
  <util:FileSharePermission GenericRead="yes" Read="yes" ReadAttributes="yes" User="Everyone" />
</util:FileShare>

I get a compile-time error: "Unresolved reference to the symbol" User: each "in the section" Product: {MY-GUID} ".

Any suggestions on how to create a shared resource for all users?

+3
source share
1 answer

You need a Util: User element. User FileSharePermission / @ is a reference to the User / @ Id attribute.

, , User. User/@Id, ... , .. .

+4

Source: https://habr.com/ru/post/1702449/


All Articles