I think FileSharePermission maybe the answer for me. I try the following code
and got some compiling error.
<Directory Id="NETConfig" Name="Config">
<Component Id="NETConfig"
Guid="AC36EFA1-011C-400c-BA50-2825CF330B4D">
<util:FileShare Id="NETConfig" Description="NET Config"
Name="NETConfig">
<util:FileSharePermission User='Service Accounts-DTF'
GenericRead="yes" Read="yes" GenericExecute="yes"/>
</util:FileShare>
</Component>
</Directory>
Error 1 The util:FileSharePermission/@User attribute's value, 'Service
Accounts-DTF', is not a legal identifier. Identifiers may contain ASCII
characters A-Z, a-z, digits, underscores (_), or periods (.). Every identifier
must begin with either a letter or an underscore.
How to solve this problem?
Thanks
Joseph
-----Original Message-----
From: Joseph Wu [mailto:[email protected]]
Sent: Tuesday, January 27, 2009 5:05 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to change permission for existing Folder and/or
file?
After one day of research. It looks to me that CustomAction is only way I know
to achieve it. Is this the right way to go?
Thanks
Joseph
-----Original Message-----
From: Joseph Wu [mailto:[email protected]]
Sent: Monday, January 26, 2009 4:16 PM
To: [email protected]
Subject: [WiX-users] How to change permission for existing Folder and/or file?
Permission Element's parent must be CreateFolder or File. How to change the
permission for existing Folder and/or file?
Thanks
Joseph
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users