Hi,

I have problems creating folders on the instalation folder. The application
folder is created but none of the folder inside it are created.
Im using Wix 2 and my file looks like this:

<Directory Id="TARGETDIR" Name="SourceDir">
    <Directory Id="ProgramFilesFolder">
         <Directory Id="INSTALLLOCATION" Name="App">

           <Directory Id="DocumentsFolder" Name="Docs" LongName="Documents"
/>

           <Component Id="MainApplicationFilesComponent"
Guid="7e032c07-d8a2-4cc1-870b-2fc1a88ab6ef">
                      <File ............ />
                      <File ............ />
                      <File ............ />
           </Component>
         </Directory>
     </Directory>

    <Directory Id="ProgramMenuFolder">
          <Directory Id="ProgramMenuDir" Name="App" />
     </Directory>

     <Directory Id="DesktopFolder" />
</Directory>

<DirectoryRef Id="INSTALLLOCATION">
     <Directory Id="BackupsFolder" Name="Backups">
            <Component Id="BackupFilesComponent"
Guid="7e032c07-d0a2-47c1-810b-2fc1a88ab6ef">
                    <File ............ />
                   <File ............ />
                   <File ............ />
            </Component>
       </Directory>
</DirectoryRef>

<Feature Id="ProductFeature" Title="App Files" Level="1">
       <ComponentRef Id="MainApplicationFilesComponent" />
       <ComponentRef Id="BackupFilesComponent" />
</Feature>



The "App" folder is created, but the "Documents" and the "Backups" folders
not.
Am i missing something?

Thanks,
Ricardo Lopes.
-------------------------------------------------------------------------
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