Something like this should work:
    <Directory Id="TARGETDIR" Name="SourceDir">
      <!--Put in the Program Files folder-->
      <Directory Id="ProgramFilesFolder" Name="PFiles">
        <Directory Id="INSTALLDIR" Name="CompanyName">
          <Directory Id="SDDDir" Name="AppName1">
        </Directory>
        </Directory>
      <Directory Id="INETPUB" Name="Inetpub">
        <Directory Id="INSTALLDIR" Name="wwwroot">
          <Directory Id="WebSiteDir" Name="WebSiteName1" />
        </Directory>
      </Directory>
    </Directory>

Neil

-----Original Message-----
From: Lough, Norman [mailto:norman.lo...@imass.co.uk] 
Sent: 10 February 2009 15:44
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Combined installers

Further to my previous post I've attempted to combine installers by
adding a further wxs file. Within the resulting <fragment> I've
attempted to add the contents of the second wxs file I'd previously
created. My problem lies with the directories to which I want to
install:

 

This was how the directories were set up for the first of the
applications

 

            <Directory Id="TARGETDIR" Name="SourceDir">

      <!--Put in the Program Files folder-->

                  <Directory Id="ProgramFilesFolder" Name="PFiles">

                        <Directory Id="INSTALLDIR" Name="CompanyName">

                              <Directory Id="SDDDir" Name="AppName1">

            

                              </Directory>

                        </Directory>

                  </Directory>

            </Directory>

 

To give C:\Program Files\CompanyName\AppName1

 

 

 

And this was how the directories were set up for the second

 

    <Directory Id="TARGETDIR" Name="SourceDir">

      <Directory Id="INETPUB" Name="Inetpub">

        <Directory Id="INSTALLDIR" Name="wwwroot">

          <Directory Id="WebSiteDir" Name="WebSiteName1" />

        </Directory>

      </Directory>

    </Directory>

 

To give C:\Inetpub\wwwroot\WebSiteName1

 

In the second I've tried

 

    <Property Id="CUSPATH"><![CDATA[c:\inetpub\wwwroot]]></Property>

 

        <Directory Id="CUSPATH" Name="CustomPath">

          <Directory Id=" WebSiteDir " Name="WebSiteName1" />

        </Directory>

 

I get

 

error CNDL0205: The Directory with Id 'MYAPPPATH' 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'.

 

I basically want to install AppName1 to Program Files/...  and
WebSiteName1 to wwwroot/... Is this possible? If so an example would be
greatly appreciated.

 

Thanks

Norman Lough

Developer

Tel: +44 (0)191 213 5555

DDI: +44 (0)191 2028360

Email: norman.lo...@imass.co.uk

Imass Ltd, Northumbria House, Regent Centre, Gosforth, Newcastle upon
Tyne, NE3 3PX. http://www.imass.co.uk <http://www.imass.co.uk/> 

 

Imass Limited is an Infoterra company, part of EADS Astrium

 

 

Registered in England and Wales No. 2379476

 

- Disclaimer -
The information contained in this e-mail and its attachments is
confidential and intended only for the use of the individual or entity
named above.  If you are not the intended recipient, please do not read,
copy, use or disclose this message or its attachments.  If you have
received this message in error, please notify the sender immediately and
delete or destroy all copies of this message and attachments in all
media.  Any views expressed in this e-mail that do not relate to Imass'
official business may not reflect the views of the company.

 

------------------------------------------------------------------------
------
Create and Deploy Rich Internet Apps outside the browser with
Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and
code to
build responsive, highly engaging applications that combine the power of
local
resources and data with the reach of the web. Download the Adobe AIR SDK
and
Ajax docs to start building applications
today-http://p.sf.net/sfu/adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to