Re: [WiX-users] How to change permission for existing Folder and/or file?

2009-01-28 Thread Joseph Wu
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

Re: [WiX-users] How to change permission for existing Folder and/or file?

2009-01-28 Thread Bob Arnson
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

Re: [WiX-users] How to change permission for existing Folder and/or file?

2009-01-28 Thread Joseph Wu
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

Re: [WiX-users] How to change permission for existing Folder and/or file?

2009-01-28 Thread Bob Arnson
Joseph Wu wrote: 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. Try it anyway. MSI won't fail because the folder already exists. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] How to change permission for existing Folder and/or file?

2009-01-27 Thread Joseph Wu
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:joseph...@ds-iq.com] Sent: Monday, January 26, 2009 4:16 PM To: wix-users@lists.sourceforge.net

[WiX-users] How to change permission for existing Folder and/or file?

2009-01-26 Thread Joseph Wu
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