Thank you very much,
Now it solve the User problem. But I got the following error. But I don't
want to create folder. Because it is an existing folder. Does that mean
FileSharePermission is not the solution for me? I need to use Custom Action to
do it?
Thanks
Joseph
Error 2 ICE18: KeyPath for Component: 'NETConfig' is Directory:
'NETConfig'. The Directory/Component pair must be listed in the CreateFolders
table.
<Directory Id="SystemRoot">
<Directory Id="MicrosoftNET" Name="Microsoft.NET">
<Directory Id="FRAMEWORK" Name="Freamework">
<Directory Id="v20" Name="v2.0.50727">
<Directory Id="NETConfig" Name="Config">
<Component Id="NETConfig"
Guid="AC36EFA1-011C-400c-BA50-2825CF330B4D">
<util:User Id="ServiceAccountsDTF" Name="Service
Accounts-DTF"/>
<util:FileShare Id="NETConfig" Description="NET Config"
Name="NETConfig">
<util:FileSharePermission User='ServiceAccountsDTF'
GenericRead="yes" Read="yes" GenericExecute="yes"/>
</util:FileShare>
</Component>
</Directory>
</Directory>
</Directory>
</Directory>
</Directory>
-----Original Message-----
From: Bob Arnson [mailto:[email protected]]
Sent: Wednesday, January 28, 2009 12:00 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to change permission for existing Folder and/or
file?
Joseph Wu wrote:
> 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.
>
FileSharePermission/@User is the Id of a user defined by the User element.
--
sig://boB
http://joyofsetup.com/
------------------------------------------------------------------------------
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