I think you want to change Write to WriteAttributes. As a good catch all I use
this:
<Permission GenericAll="yes" Read="yes" ReadAttributes="yes" CreateChild="yes"
Delete="yes"
DeleteChild="yes" WriteAttributes="yes" User="Everyone"/>
Rob
Scott Sam wrote:
> I’m using WiX v3 with VS2008. When I try to build the msi the following
> code gives me the error:
>
> The Permission element contains an unexpected attribute 'Write'. Any
> ideas on how to fix this? I need to give a user read and write permissions.
>
>
>
> <Fragment>
>
> <DirectoryRef Id="APPDIR">
>
> <Directory Id="TraceFolder" Name="ClearTraceFiles">
>
> <Component Id="CreateTraceFolder"
> Guid="{487565F9-E570-4d65-901E-0AA2C435D9BB}">
>
> <CreateFolder>
>
> <Permission User="user" Domain="domain" Write="yes" />
>
> </CreateFolder>
>
> </Component>
>
> </Directory>
>
> </DirectoryRef>
>
> </Fragment>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> WiX-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users