Hi,
I tried to test this, but Wix would not link when using the Fileshare stuff and
I didn't have time to figure it out. However, I checked what the raw security
descriptor looks like when setting the Change permission using the UI, and it
came out with the bitmask 0x001301bf for Change and 0x001200a9 for Read. As a
result I suspect you need the following (WinNT.h definitions in pharentesis):
0x100000 Synchronize (SYNCHRONIZE)
0x020000 ReadPermission (READ_CONTROL)
0x010000 Delete (DELETE)
0x000100 WriteAttributes (FILE_WRITE_ATTRIBUTES)
0x000080 ReadAttributes (FILE_READ_ATTRIBUTES)
0x000020 Execute (FILE_EXECUTE / FILE_TRAVERSE)
0x000010 WriteExtendedAttributes (FILE_WRITE_EA)
0x000008 ReadExtendedAttributes (FILE_READ_EA)
0x000004 CreateChild (FILE_APPEND_DATA / FILE_ADD_SUBDIRECTORY)
0x000002 CreateFile (FILE_WRITE_DATA / FILE_ADD_FILE)
0x000001 Read (FILE_READ_DATA / FILE_LIST_DIRECTORY)
Although, I'm only guessing what the Wix attributes map to.
Regards,
Arild
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Jarratt (MCS
UK)
Sent: 20. februar 2008 09:36
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] FileShare Permissions - How to set Change
I have not seen an answer to this yet, can anyone help?
Thanks
Rob
Robert Jarratt
Senior Consultant
Microsoft Consulting Services
Microsoft Ltd.
Tel.: +44 (118) 909 4923
mailto:[EMAIL PROTECTED]
This email may contain confidential information. If you are not named on the
addressee list, please take no action in relation to this email, do not open
any attachment, and please contact the sender (details above) immediately.
Information in this email is provided in good faith. If you are a customer of
Microsoft, please refer to the terms and conditions which cover the provision
of support and consulting services to you/your organization. If you are not
corresponding in the course of, or in connection with a Microsoft contract or
programme with its own terms and conditions, please note that no liability is
accepted by Microsoft for the contents of this mail.
Microsoft Limited (company number 01624297) is a company registered in England
and Wales whose registered office is at Microsoft Campus, Thames Valley Park,
Reading. RG6 1WG.
_____________________________________________
From: Rob Jarratt (MCS UK)
Sent: 15 February 2008 13:33
To: 'wix-users@lists.sourceforge.net'
Subject: FileShare Permissions - How to set Change
I am using WiX 2.0.4820 and I am trying to use the Permission element inside a
FileShare element to set the share's permissions to be "Change" (as seen when
you view share permissions in Windows Explorer). I have tried various
combinations of attributes but cannot get anything to work except GenericAll
which comes out as Full Control.
Can anyone tell me how to set the permissions to get Change permissions on a
share?
Thanks
Robert Jarratt
Senior Consultant
Microsoft Consulting Services
Microsoft Ltd.
Tel.: +44 (118) 909 4923
mailto:[EMAIL PROTECTED]
This email may contain confidential information. If you are not named on the
addressee list, please take no action in relation to this email, do not open
any attachment, and please contact the sender (details above) immediately.
Information in this email is provided in good faith. If you are a customer of
Microsoft, please refer to the terms and conditions which cover the provision
of support and consulting services to you/your organization. If you are not
corresponding in the course of, or in connection with a Microsoft contract or
programme with its own terms and conditions, please note that no liability is
accepted by Microsoft for the contents of this mail.
Microsoft Limited (company number 01624297) is a company registered in England
and Wales whose registered office is at Microsoft Campus, Thames Valley Park,
Reading. RG6 1WG.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users