Could you also give an example please? I tried following but it also
didn't work - it says "Failed to create network share. ( -2147.... Root)":
<Property Id="ROOTDRIVE" Value="C:\"/>
<Directory Id="TARGETDIR" Name="SourceDir">
<Component Id="FirstFileShare"
Guid="6f051579-2950-42e3-9381-2f538ae1de12">
<CreateFolder/>
<util:User Id="MyUser" Name="user" Password="password"
PasswordNeverExpires="yes" RemoveOnUninstall="yes" UpdateIfExists="yes"
CreateUser="yes"/>
<util:FileShare Id ="ShareRoot" Name="Root">
<util:FileSharePermission GenericAll="yes" User="MyUser"
Read="yes"/>
</util:FileShare>
</Component>
</Directory>
And additionally I have another question: How can I set the
share-permission for a usergroup and not for a single user only?
- Chris
------------------
Set the ROOTDRIVE property to "C:\" and Move your component under the
TARGETDIR DirectoryId tag. I am not sure why you would want your setup
package to share the root. That seems a little dangerous and
counterintuitive.
//aj
On Jan 2, 2008 8:14 AM, Chris <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hi there,
I probably have a quite simple question:
How can I set the sharing of my C-drive and name it as "Root"?
I tried something like this but it creates the Root-folder:
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="INSTALLDIR">
<Directory Id="MyRoot" Name="Root">
<Component Id="FirstFileShare"
Guid="6f051579-2950-42e3-9381-2f538ae1de12">
<CreateFolder/>
<util:User Id="MyUser" Name="user" Password="password"
PasswordNeverExpires="yes" RemoveOnUninstall="yes" UpdateIfExists="yes"
CreateUser="yes"/>
<util:FileShare Id ="ShareRoot" Name="Root">
<util:FileSharePermission GenericAll="yes" User="MyUser"
Read="yes"/>
</util:FileShare>
</Component>
</Directory>
</Directory>
</Directory>
Thank's in advance,
Chris
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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