Perhaps I am missing something, but I cannot figure out how I would use 
the WebSite element (outside of a Component, so it acts as a locator) in 
order to set the path for content.

If I have the following:

<iis:WebSite Id="EXISTINGWEBSITE" Description="Default Web Site" SiteId="*" />

<Directory Id="TARGETDIR" Name="SourceDir">
  <Directory Id="PATH_OF_EXISTINGWEBSITE">
    <Directory Id="MyStuff" Name="MyStuff">
      <Component Guid="PUT-GUID-HERE" Id="MyStuff" KeyPath="yes">
        <CreateFolder />
        <iis:WebDir Id="MyStuff" Path="MyStuff" WebSite="EXISTINGWEBSITE" />
      </Component>
      ... a bunch of Component elements containing files ...
    </Directory>
  </Directory>
</Directory>

the metabase changes happen in the correct place, but how do I get the 
files to deploy to the proper directory? Do I have to write a custom 
action to read the IISWebSite record in order to set the 
PATH_OF_EXISTINGWEBSITE property? If I'm going to do that, I might as 
well write a custom action that takes an arbitrary Windows Installer 
query and returns the result as text...

Thanks,

-- 
Thomas S. Trias
Senior Developer
Artizan Internet Services
http://www.artizan.com/


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