I tried that but then those elements don't get added to the website.
Perhaps I'm being dense but could you edit the below to show me what you
mean?

  _____  

From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 11, 2007 2:58 PM
To: John Pavlik; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Can a product be a web app and windows app?



You just need to create more Directory elements that aren't nested under
ProgramFilesFolder.

 

From: John Pavlik [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 11, 2007 9:56 AM
To: Rob Mensching; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Can a product be a web app and windows app?

 

I used the sample file from the tutorial site - cleaned it up to compile
with wix3.  I added a file named nothing.txt.  I don't see how to keep
nothing.txt from being added to the website folder (or for that matter
default.html from being added to Program Files although this is less of
an issue.

 

My wxs is below - both default.htm and nothing.txt are added to the
program files and web app.

 

<?xml version='1.0' encoding='windows-1252'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'
xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension";>
  <Product Name='Foobar 1.0' Id='9C5BD584-5DB2-4dd0-9DDF-416EFBDECD7A'
    Language='1033' Codepage='1252' Version='1.0.0' Manufacturer='Acme
Ltd.'>

 

   <Package Keywords='Installer'
      Description="Acme's Foobar 1.0 Installer"
      Comments='Foobar is a registered trademark of Acme Ltd.'
Manufacturer='Acme Ltd.'
      InstallerVersion='100' Languages='1033' Compressed='yes'
SummaryCodepage='1252' />

 

   <Media Id='1' Cabinet='Sample.cab' EmbedCab='yes' DiskPrompt="CD-ROM
#1" />
    <Property Id='DiskPrompt' Value="Acme's Foobar 1.0 Installation [1]"
/>

 

   <Directory Id='TARGETDIR' Name='SourceDir'>
      <Directory Id='ProgramFilesFolder' Name='PFiles'>
        <Directory Id='InstallDir' Name='Acme'>

 

         <Component Id='default.htmlComponent'
Guid='DD30E327-3299-42e0-88ED-5DDF0D07D1D4'>
            <File Id='default.htmFile' Name='default.htm' KeyPath='yes'
DiskId='1' Source='default.htm' />
          </Component>
         <Component Id='nothing.txtComponent'
Guid='8EBC9CC4-5604-4f12-800C-52918FC14667'>
            <File Id='nothing.txtFile' Name='nothing.txt' KeyPath='yes'
DiskId='1' Source='nothing.txt' />
          </Component>

 

       </Directory>
      </Directory>

 

     <Component Id='TestWebVirtualDirComponent'
Guid='D3CBFAD8-9999-4013-9CE7-21E2302B42A5'>
        <iis:WebVirtualDir Id='TestWebVirtualDir' Alias='Test'
Directory='InstallDir' WebSite='DefaultWebSite'>
          <iis:WebApplication Id='TestWebApplication' Name='Test' />
        </iis:WebVirtualDir>
      </Component>

 

   </Directory>

 

   <iis:WebSite Id='DefaultWebSite' Description='Default Web Site'>
      <iis:WebAddress Id='AllUnassigned' Port='80' />
    </iis:WebSite>

 

   <Feature Id='TestFeature' Title='TestFeature' Level='1'>
      <ComponentRef Id='TestWebVirtualDirComponent' />
      <ComponentRef Id='default.htmlComponent' />
    </Feature>
    <Feature Id='TestFeature2' Title='TestFeature2' Level='1'>
      <ComponentRef Id='nothing.txtComponent' />
      <ComponentRef Id='default.htmlComponent' />
 </Feature>
  </Product>
</Wix>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to