Could you drop the root property and dir, and then next the IIS dir(s) under
TARGETDIR.  That would probalby have to assume that C:\ is the logical drive
w/ most available space I believe.

Not for certain on this, but I think it would work.

On Mon, Nov 24, 2008 at 12:11 PM, David Bartmess
<[EMAIL PROTECTED]>wrote:

> I've got to install some files in the C:\INetpub\MyProgram directory for
> a website, but I'm getting an error stating
>
> Error 1 The Directory with Id 'Root' is not a valid root directory.
> There may only be a single root directory per product or module and its
> Id attribute value must be 'TARGETDIR' and its Name attribute value must
> be 'SourceDir'.
> C:\Dev\Code\WSOD\Apps\Products\Maestro\Firm\Installer\Trunk\Wix\MaestroS
> erverMain.wxs 35 1 MaestroServer
>
> My Directory structure is below. How do I change it to work?
>
> Thanks!
>
> <Property Id='ROOTDRIVE' Value='$(env.SystemDrive)' />
>
> <Directory Id="TARGETDIR" Name="SourceDir">
>
>    <Directory Id="ProgramFilesFolder">
>
>        <Directory Id="WSODDir" Name="WSOD">
>
>            <Directory Id="INSTALLLOCATION" Name="MaestroLink">
>
>                <Directory Id="ServerDir" Name="Server">
>
>                    <Directory Id="ToolsDir" Name="Tools"/>
>
>                </Directory>
>
>            </Directory>
>
>        </Directory>
>
>    </Directory>
>
> </Directory>
>
> <Directory Id="Root" Name="[ROOTDRIVE]">
>
>    <Directory Id="IIS" Name="InetPub">
>
>        <Directory Id="MaestroIIS" Name="Maestro">
>
>            <Directory Id="WebUI" Name="WebUI"/>
>
>            <Directory Id="WebServices" Name="WebServices"/>
>
>        </Directory>
>
>    </Directory>
>
> </Directory>
>
>
>
> David Bartmess
>
> Wall Street On Demand
>
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>
> direct: 303.417.9999 x585
>
> cell: 303.883-9117
>
> fax: 303.444.2586
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to