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]> 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
>
-------------------------------------------------------------------------
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

Reply via email to