Does the service account have filesystem permissions to the directory you're
trying to access via the share ?

-----Original Message-----
From: Atul Kolhatkar [mailto:atul.kolhat...@microsoft.com] 
Sent: 02 August 2011 19:44
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Fileshare permissions

I am trying to create a file share using Wix. Here is the fileshare fragment
I'm using:

    <!-- Begin file shares -->
    <DirectoryRef Id="SharedMQStorage">
      <Component Id="FileShareComponent"
Guid="A89F990A-051B-494D-A958-D71A14724E10">
        <CreateFolder />
        <util:FileShare Name="SharedMQStorage" Id="FileShare">
          <util:FileSharePermission User="ServiceAccount" Read="yes"
GenericWrite="yes" Traverse="yes" CreateChild="yes" CreateFile="yes" />
        </util:FileShare>
      </Component>
    </DirectoryRef>
    <!-- End file shares -->

The user is defined as follows:
    <util:User Id="ServiceAccount" Name="[SERVICEACCOUNT]" />

and the value is passed in as a parameter during install.

The install works without any error, and the file share gets created.  I can
even see the user account listed in the Sharing properties with Read/Write
access. However, when I try to access it as
\\localhost\SharedMQStorage<file:///\\localhost\SharedMQStorage> I get an
access denied error (see attached screenshots).

Any ideas what might be going wrong?

Thanks,
Atul

SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to